From 864e6ad67275dd452b8d29c00063243862d3b86b Mon Sep 17 00:00:00 2001 From: ryanhamshire Date: Mon, 21 Sep 2015 20:04:14 -0700 Subject: [PATCH] Fixed boot issue with database mode. --- src/me/ryanhamshire/GriefPrevention/DatabaseDataStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/ryanhamshire/GriefPrevention/DatabaseDataStore.java b/src/me/ryanhamshire/GriefPrevention/DatabaseDataStore.java index 10b0ef4..9439d4b 100644 --- a/src/me/ryanhamshire/GriefPrevention/DatabaseDataStore.java +++ b/src/me/ryanhamshire/GriefPrevention/DatabaseDataStore.java @@ -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);