Only release rolled-back database savepoints during managed nested transaction

Issue: SPR-12228
This commit is contained in:
Juergen Hoeller
2014-09-19 00:11:44 +02:00
parent 0026d8faf8
commit 62340d6ccf
4 changed files with 29 additions and 22 deletions

View File

@@ -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);
}
}
/**