Dieser Commit ist enthalten in:
Ursprung
2e528918bb
Commit
d3ebbafeda
@ -170,12 +170,15 @@ public class SQL {
|
||||
}
|
||||
|
||||
private synchronized <T> T prepare(SQLRunnable<T> runnable, Object... objects) {
|
||||
try {
|
||||
try {
|
||||
setObjects(objects);
|
||||
return runnable.run();
|
||||
} catch (CommunicationsException e) {
|
||||
reset();
|
||||
return prepare(runnable, objects);
|
||||
setObjects(objects);
|
||||
return runnable.run();
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
throw new SecurityException("Could not execute SQL statement", e);
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren