|
@@ -253,7 +253,7 @@ public class ConfigBuilder {
|
|
|
pathInfo = configPathInfo;
|
|
|
} else {
|
|
|
// 生成路径信息
|
|
|
- pathInfo = new HashMap<>(9);
|
|
|
+ pathInfo = new HashMap<>(10);
|
|
|
setPathInfo(pathInfo, template.getEntity(getGlobalConfig().isKotlin()), outputDir, ConstVal.ENTITY_PATH, ConstVal.ENTITY);
|
|
|
setPathInfo(pathInfo, template.getMapper(), outputDir, ConstVal.MAPPER_PATH, ConstVal.MAPPER);
|
|
|
setPathInfo(pathInfo, template.getXml(), outputDir, ConstVal.XML_PATH, ConstVal.XML);
|
|
@@ -602,7 +602,6 @@ public class ConfigBuilder {
|
|
|
tableName = tableName.toUpperCase();
|
|
|
tableFieldsSql = String.format(tableFieldsSql, tableName);
|
|
|
} else if (DbType.H2 == dbType) {
|
|
|
- tableName = tableName.toUpperCase();
|
|
|
try (PreparedStatement pkQueryStmt = connection.prepareStatement(String.format(H2Query.PK_QUERY_SQL, tableName));
|
|
|
ResultSet pkResults = pkQueryStmt.executeQuery()) {
|
|
|
while (pkResults.next()) {
|