Companion
Properties
The database to use by default in all transactions.
The current thread's TransactionManager instance.
Functions
Clears any association between the provided database and its TransactionManager, and ensures that the database instance will not be available for use in future transactions.
Returns the current Transaction.
Returns the current Transaction, or creates a new transaction with the provided isolation level.
Returns the current Transaction, or null
if none exists.
Whether any TransactionManager instance has been initialized by a database.
Returns the TransactionManager instance that is associated with the provided database, or null
if a manager has not been registered for the database.
Sets the current thread's copy of the TransactionManager instance to the specified manager.