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