@Override protected void afterTransactionCompletion(int status) { transactionCoordinator().afterTransaction( this, status ); }
@Override protected void afterTransactionCompletion(int status) { transactionCoordinator().afterTransaction( this, status ); }
@Override protected void afterAfterCompletion() { // this method is a noop if there is a Synchronization! if ( isDriver ) { if ( !isInitiator ) { LOG.setManagerLookupClass(); } try { transactionCoordinator().afterTransaction( this, userTransaction.getStatus() ); } catch (SystemException e) { throw new TransactionException( "Unable to determine UserTransaction status", e ); } } }
@Override protected void afterAfterCompletion() { // this method is a noop if there is a Synchronization! if ( isDriver ) { if ( !isInitiator ) { LOG.setManagerLookupClass(); } try { transactionCoordinator().afterTransaction( this, userTransaction.getStatus() ); } catch (SystemException e) { throw new TransactionException( "Unable to determine UserTransaction status", e ); } } }
public void afterCompletion(int status) { LOG.tracev( "Transaction after completion callback [status={0}]", status ); try { afterCompletionAction.doAction( transactionCoordinator, status ); transactionCoordinator.afterTransaction( null, status ); } finally { reset(); if ( transactionContext().shouldAutoClose() && !transactionContext().isClosed() ) { LOG.trace( "Automatically closing session" ); transactionContext().managedClose(); } } }
public void afterCompletion(int status) { LOG.tracev( "Transaction after completion callback [status={0}]", status ); try { afterCompletionAction.doAction( transactionCoordinator, status ); transactionCoordinator.afterTransaction( null, status ); } finally { reset(); if ( transactionContext().shouldAutoClose() && !transactionContext().isClosed() ) { LOG.trace( "Automatically closing session" ); transactionContext().managedClose(); } } }