Fixed boot issue with database mode.

This commit is contained in:
ryanhamshire 2015-09-21 20:04:14 -07:00
parent 4e7af3cb02
commit 864e6ad672

View File

@ -620,7 +620,7 @@ public class DatabaseDataStore extends DataStore
connectionProps.put("user", this.userName);
connectionProps.put("password", this.password);
connectionProps.put("autoReconnect", "true");
connectionProps.put("maxReconnects", Integer.MAX_VALUE);
connectionProps.put("maxReconnects", String.valueOf(Integer.MAX_VALUE));
//establish connection
this.databaseConnection = DriverManager.getConnection(this.databaseUrl, connectionProps);