Uses of Interface
org.jdbi.v3.core.transaction.TransactionHandler
Packages that use 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
Methods in org.jdbi.v3.core that return TransactionHandlerMethods in org.jdbi.v3.core with parameters of type TransactionHandlerModifier and TypeMethodDescriptionJdbi.setTransactionHandler
(TransactionHandler handler) Specify the TransactionHandler instance to use. -
Uses of TransactionHandler in org.jdbi.v3.core.transaction
Classes in org.jdbi.v3.core.transaction that implement TransactionHandlerModifier 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.Methods in org.jdbi.v3.core.transaction that return TransactionHandlerModifier 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.Constructors in org.jdbi.v3.core.transaction with parameters of type TransactionHandlerModifierConstructorDescription