JdbcTransactionManager

Represents the JDBC transaction manager interface, responsible for creating and managing JDBC transactions.

Inheritors

Properties

Link copied to clipboard
abstract val db: Database

The database instance associated with this transaction manager.

Link copied to clipboard

The default transaction isolation level. Unless specified, the database-specific level will be used.

Link copied to clipboard
abstract var defaultMaxAttempts: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract var defaultReadOnly: Boolean

Functions

Link copied to clipboard

Returns the current JDBC transaction from the thread-local stack for this manager's database, or null if none exists.

Link copied to clipboard
abstract fun newTransaction(isolation: Int = defaultIsolationLevel, readOnly: Boolean = defaultReadOnly, outerTransaction: JdbcTransaction? = null): JdbcTransaction

Returns a JdbcTransaction instance.