CoreTransactionManager
Represents the object responsible for storing internal data related to each registered database and its transaction manager.
Functions
Clears any association between the provided database instance and its transaction manager, and completely removes the database instance from the internal storage.
Returns the current Transaction from the current transaction manager instance.
Returns the current Transaction from the current transaction manager instance, or null
if none exists.
Returns the transaction manager instance stored in the current thread's copy of its thread-local variable.
Returns the transaction manager instance that is associated with the provided database key, or null
if a manager has not been registered for the database.
Returns the database that has been set as the default for all transactions.
Returns the database that has been set as the default for all transactions, or, if none was set, the last instance created.
Stores the specified database instance as a key for the provided transaction manager value.
Sets the current thread's copy of its thread-local variable to the specified manager instance, or removes the value entirely if a null
instance is provided.
Sets the specified database instance as the default for all transactions.