From c5ebc236157bec4bc78a78454abb12f3f3a98b48 Mon Sep 17 00:00:00 2001 From: ryanhamshire Date: Tue, 3 Feb 2015 18:54:27 -0800 Subject: [PATCH] UUID migration fix for very large servers. --- src/me/ryanhamshire/GriefPrevention/DatabaseDataStore.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/me/ryanhamshire/GriefPrevention/DatabaseDataStore.java b/src/me/ryanhamshire/GriefPrevention/DatabaseDataStore.java index d507de3..7bdd95c 100644 --- a/src/me/ryanhamshire/GriefPrevention/DatabaseDataStore.java +++ b/src/me/ryanhamshire/GriefPrevention/DatabaseDataStore.java @@ -193,6 +193,9 @@ public class DatabaseDataStore extends DataStore catch(Exception ex){ } } + //refresh data connection in case data migration took a long time + this.refreshDataConnection(); + for(String name : changes.keySet()) { statement = this.databaseConnection.createStatement();