Only release rolled-back database savepoints during managed nested transaction
Issue: SPR-12228
This commit is contained in:
@@ -127,12 +127,6 @@ public abstract class JdbcTransactionObjectSupport implements SavepointManager,
|
||||
catch (Throwable ex) {
|
||||
throw new TransactionSystemException("Could not roll back to JDBC savepoint", ex);
|
||||
}
|
||||
try {
|
||||
conHolder.getConnection().releaseSavepoint((Savepoint) savepoint);
|
||||
}
|
||||
catch (Throwable ex) {
|
||||
logger.debug("Could not explicitly release JDBC savepoint after rollback", ex);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user