Uses of Interface
org.jdbi.v3.core.transaction.TransactionHandler
Package
Description
The 'core' package hosts the top level interface into jdbi core.
The
transaction
package implements the strategy
Jdbi
uses to open and close transactions.-
Uses of TransactionHandler in org.jdbi.v3.core
Modifier and TypeMethodDescriptionJdbi.setTransactionHandler
(TransactionHandler handler) Specify the TransactionHandler instance to use. -
Uses of TransactionHandler in org.jdbi.v3.core.transaction
Modifier and TypeClassDescriptionclass
Handler designed to behave properly in a J2EE CMT environment.class
Simple delegating subclass that just invokes its delegate.class
ThisTransactionHandler
uses local JDBC transactions demarcated explicitly on the handle and passed through to be handled directly on the JDBC Connection instance.class
A transaction handler that always callsDelegatingTransactionHandler.rollback(org.jdbi.v3.core.Handle)
instead ofRollbackOnlyTransactionHandler.commit(org.jdbi.v3.core.Handle)
.class
A TransactionHandler that automatically retries transactions that fail due to serialization failures, which can generally be resolved by automatically retrying the transaction.Modifier and TypeMethodDescriptionSerializableTransactionRunner.specialize
(Handle handle) default TransactionHandler
TransactionHandler.specialize
(Handle handle) Bind a TransactionHandler to a Handle, to allow it to track handle-local state.ModifierConstructorDescription