Hi,
I encountered the problem that I get an error.
Quote:
11:06:55,203 ERROR JDBCExceptionReporter:78 - Eingabe/Ausgabe-Fehler {0} beim Senden an das Backend.
which my catch-clause doesn't seem to catch.
Code:
catch (final org.hibernate.StaleObjectStateException sose) {
/* clean up */
if (tx != null) {
tx.rollback();
}
if (s != null && s.isOpen()) {
s.close();
}
/* wrong version */
handleCatchClause(sose, s);
...
}
catch (final Throwable thrown) {
showErrorMessage(errorMessage + thrown.getLocalizedMessage(), errorTitle);
if (tx != null) {
tx.rollback();
}
handleCatchClause(thrown, s);
return false;
}
finally {
if (s != null && s.isOpen()) {
s.close();
}
}
So my program freezes.
How can I avoid this?
Thanks.
Greetings Michael