Skip to content

Commit

Permalink
0005637: Set SET MODE LEGACY in db.init.sql for H2 databases in engines,
Browse files Browse the repository at this point in the history
remove DB_CLOSE_ON_EXIT from db URL if AUTO_SERVER also set
  • Loading branch information
Philip Marzullo committed Dec 15, 2022
1 parent 9f22f60 commit aa564a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion symmetric-assemble/gradle.properties
@@ -1,5 +1,5 @@
symAssembleDir=../symmetric-assemble
version=3.14.x-SNAPSHOT
version=3.15.x-SNAPSHOT
scmVersion=?
scmBranch=?
deployUser=?
Expand Down
Expand Up @@ -150,7 +150,9 @@ public static ResettableBasicDataSource create(TypedProperties properties,
String initSql = properties.get(BasicDataSourcePropertyConstants.DB_POOL_INIT_SQL, null);
if (StringUtils.isNotBlank(initSql)) {
List<String> initSqlList = new ArrayList<String>(1);
initSqlList.add(initSql);
for (String i : initSql.split(";")) {
initSqlList.add(i);
}
dataSource.setConnectionInitSqls(initSqlList);
}
return dataSource;
Expand Down

0 comments on commit aa564a6

Please sign in to comment.