TransactionManager

TransactionManager provides a centralized interface for all transaction related services. It contains methods to commit and rollback transactions.

The TransactionManager is accessed using EbaseSystem#getTransactionManager().

TransactionManager Functions

commitAndRestartTransaction TransactionManager.commitAndRestartTransaction( ) Commits the current transaction and starts a new transaction.
getDefaultTransactionTimeout TransactionManager.getDefaultTransactionTimeout( ) Returns the configured default transaction timeout value in seconds.
setDefaultTransactionTimeout TransactionManager.setDefaultTransactionTimeout( noSeconds ) Sets the default transaction timeout value in seconds, which is applied to all new transactions started after this time.
rollbackAndRestartTransaction TransactionManager.rollbackAndRestartTransaction( ) Rolls back the current transaction and starts a new transaction.