We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 061db01 commit d834e4bCopy full SHA for d834e4b
pom.xml
@@ -6,7 +6,7 @@
6
7
<groupId>cz.foresttech</groupId>
8
<artifactId>ForestDatabase</artifactId>
9
- <version>1.0.1</version>
+ <version>1.0.2</version>
10
11
<properties>
12
<maven.compiler.source>17</maven.compiler.source>
src/main/java/cz/foresttech/database/DatabaseEntityConvertor.java
@@ -438,7 +438,11 @@ private static String getTableName(Class<?> clazz) {
438
tableName = camelCaseToSnakeCase(clazz.getSimpleName());
439
}
440
441
- return tableName;
+ if (tableName.isEmpty()) {
442
+ return tableName;
443
+ }
444
+
445
+ return "\"" + tableName + "\"";
446
447
448
/**
0 commit comments