Ignore SQL state 3B001 in releaseSavepoint (for HSQLDB)

Closes gh-35564
This commit is contained in:
Juergen Hoeller
2025-10-02 13:01:30 +02:00
parent 74dc61b8c4
commit d484e4f3ff
@@ -184,6 +184,10 @@ public abstract class JdbcTransactionObjectSupport implements SavepointManager,
// typically on Oracle - ignore
}
catch (SQLException ex) {
if ("3B001".equals(ex.getSQLState())) {
// Savepoint already released (HSQLDB, PostgreSQL, DB2) - ignore
return;
}
// ignore Microsoft SQLServerException: This operation is not supported.
String msg = ex.getMessage();
if (msg == null || !msg.contains("not supported")) {