Package org.jdbi.v3.core.transaction
package org.jdbi.v3.core.transaction
The transaction
package implements the strategy
Jdbi
uses to open and close transactions. The default
instance simply sets the transaction property on the connection.
There is also a runner that runs SERIALIZABLE
transactions
repeatedly until they succeed without transient serialization failures.
-
ClassDescriptionHandler designed to behave properly in a J2EE CMT environment.Simple delegating subclass that just invokes its delegate.This
TransactionHandler
uses local JDBC transactions demarcated explicitly on the handle and passed through to be handled directly on the JDBC Connection instance.A transaction handler that always callsDelegatingTransactionHandler.rollback(org.jdbi.v3.core.Handle)
instead ofRollbackOnlyTransactionHandler.commit(org.jdbi.v3.core.Handle)
.A TransactionHandler that automatically retries transactions that fail due to serialization failures, which can generally be resolved by automatically retrying the transaction.Configuration for serializable transaction runner.Thrown when there's a problem manipulating the transaction isolation level.Interface which defines callbacks to be used when transaction methods are called on a handle.Supported transaction isolation levels.Thrown whenJdbi
isn't able to change the transaction isolation level.Thrown after a transaction finishes if we can't reset its isolation level.