public void commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, IllegalStateException, SystemException
{
log.debug("committing Spring transaction");
assertActive();
boolean success = false;
Synchronizations synchronizations = getSynchronizations();
synchronizations.beforeTransactionCommit();
try
{
getPlatformTransactionManagerRequired().commit(currentTransaction);
success = true;
}
finally
{
currentTransaction = null;
synchronizations.afterTransactionCommit(success);
}
}