Clans now load, added connection property to null zero date timestamps.
This commit is contained in:
parent
2b3e466469
commit
2fa0787792
@ -24,6 +24,7 @@ public final class DBPool
|
||||
BasicDataSource source = new BasicDataSource();
|
||||
source.addConnectionProperty("autoReconnect", "true");
|
||||
source.addConnectionProperty("allowMultiQueries", "true");
|
||||
source.addConnectionProperty("zeroDateTimeBehavior", "convertToNull");
|
||||
source.setDefaultTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED);
|
||||
source.setDriverClassName("com.mysql.jdbc.Driver");
|
||||
source.setUrl(url);
|
||||
|
Loading…
Reference in New Issue
Block a user