Ignore unsupported statement isClosed

This commit is contained in:
Jesse Boyd 2018-03-08 08:37:17 +11:00
parent 1cd30b84d5
commit 5b18b918a9
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -359,9 +359,11 @@ public class SQLManager implements AbstractDB {
}
task.set(statement);
task.addBatch(statement);
try {
if (statement.isClosed()) {
statement = null;
}
} catch (AbstractMethodError ignore) {}
}
lastTask = task;
} catch (Throwable e) {