mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-02-17 17:00:45 +08:00
Fixed new version of h2 not applying patches properly
This commit is contained in:
parent
71250c3d65
commit
9af59d4d2a
@ -92,7 +92,7 @@ public class H2DB extends SQLDB {
|
|||||||
String password = config.get(DatabaseSettings.MYSQL_PASS);
|
String password = config.get(DatabaseSettings.MYSQL_PASS);
|
||||||
|
|
||||||
JdbcDataSource jdbcDataSource = new JdbcDataSource();
|
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.setUser(username);
|
||||||
jdbcDataSource.setPassword(password);
|
jdbcDataSource.setPassword(password);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user