@ SuppressWarnings ( "deprecation" ) @ Override public void stopTransaction ( final Conclusion conclusion ) { makeActive ( ) ; if ( getDatabase ( ) . isClosed ( ) || getDatabase ( ) . getTransaction ( ) instanceof OTransactionNoTx || getDatabase ( ) . getTransaction ( ) . getStatus ( ) != TXSTATUS . BEGUN ) return ; if ( Conclusion . SUCCESS == conclusion ) commit ( ) ; else rollback ( ) ; }
Closes a transaction .