Companion

object Companion

Properties

Link copied to clipboard

The database to use by default in all transactions.

Link copied to clipboard

Returns the TransactionManager for the current context.

Link copied to clipboard

The currently active database, which is either the default database or the last instance created. Returns null if no database has been registered.

Functions

Link copied to clipboard

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.

Link copied to clipboard

Returns the current JdbcTransaction.

Link copied to clipboard
fun currentOrNew(isolation: Int = manager.defaultIsolationLevel): JdbcTransaction

Returns the current JdbcTransaction, or creates a new transaction with the provided isolation level.

Link copied to clipboard

Returns the current JdbcTransaction, or null if none exists.

Link copied to clipboard

Returns the TransactionManager instance associated with the provided database.

Link copied to clipboard

Associates the provided database with a specific manager.