JdbcTransactionInterface

Properties

Link copied to clipboard
abstract val connection: ExposedConnection<*>

The database connection used by the transaction.

Link copied to clipboard
abstract override val db: Database
Link copied to clipboard
abstract override val outerTransaction: JdbcTransaction?
Link copied to clipboard
abstract val readOnly: Boolean
Link copied to clipboard

The transaction isolation level of the transaction, which may differ from the set database level.

Functions

Link copied to clipboard
abstract fun close()

Closes the transaction and releases any savepoints.

Link copied to clipboard
abstract fun commit()

Saves all changes since the last commit or rollback operation.

Link copied to clipboard
abstract fun rollback()

Reverts all changes since the last commit or rollback operation, or to the last set savepoint, if applicable.