Fixed new version of h2 not applying patches properly

This commit is contained in:
Rsl1122 2019-04-30 19:12:15 +03:00
parent 71250c3d65
commit 9af59d4d2a

View File

@ -92,7 +92,7 @@ public class H2DB extends SQLDB {
String password = config.get(DatabaseSettings.MYSQL_PASS);
JdbcDataSource jdbcDataSource = new JdbcDataSource();
jdbcDataSource.setURL("jdbc:h2:file:" + dbFilePath + ";mode=MySQL");
jdbcDataSource.setURL("jdbc:h2:file:" + dbFilePath + ";mode=MySQL;DATABASE_TO_UPPER=false");
jdbcDataSource.setUser(username);
jdbcDataSource.setPassword(password);