Clans now load, added connection property to null zero date timestamps.

This commit is contained in:
Jonathan Williams 2016-04-04 16:31:37 -05:00
parent 2b3e466469
commit 2fa0787792

View File

@ -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);