TransactionManager
class TransactionManager( db: Database, setupTxConnection: (ExposedConnection<*>, JdbcTransactionInterface) -> Unit? = null) : TransactionManagerApi
TransactionManager implementation registered to the provided database value db.
setupTxConnection can be provided to override the default configuration of transaction settings when a connection is retrieved from the database.
Constructors
Link copied to clipboard
constructor(db: Database, setupTxConnection: (ExposedConnection<*>, JdbcTransactionInterface) -> Unit? = null)
Properties
Link copied to clipboard
The default transaction isolation level. Unless specified, the database-specific level will be used.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A thread local variable storing the current transaction.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun newTransaction( isolation: Int = defaultIsolationLevel, readOnly: Boolean = defaultReadOnly, outerTransaction: JdbcTransaction? = null): JdbcTransaction
Returns a JdbcTransaction instance.