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
Fields in org.jdbi.v3.core declared as TransactionHandlerFields in org.jdbi.v3.core with type parameters of type TransactionHandlerModifier and TypeFieldDescriptionprivate final AtomicReference<TransactionHandler>Jdbi.transactionhandlerMethods in org.jdbi.v3.core that return TransactionHandlerMethods in org.jdbi.v3.core with parameters of type TransactionHandlerModifier and TypeMethodDescription(package private) static HandleHandle.createHandle(Jdbi jdbi, Cleanable connectionCleaner, TransactionHandler transactionHandler, StatementBuilder statementBuilder, Connection connection) Jdbi.setTransactionHandler(TransactionHandler handler) Specify the TransactionHandler instance to use.Constructors in org.jdbi.v3.core with parameters of type TransactionHandlerModifierConstructorDescriptionprivateHandle(Jdbi jdbi, Cleanable connectionCleaner, TransactionHandler transactionHandler, StatementBuilder statementBuilder, Connection connection) -
Uses of TransactionHandler in org.jdbi.v3.core.transaction
Classes in org.jdbi.v3.core.transaction that implement TransactionHandlerModifier and TypeClassDescriptionclassHandler designed to behave properly in a J2EE CMT environment.classSimple delegating subclass that just invokes its delegate.classThisTransactionHandleruses local JDBC transactions demarcated explicitly on the handle and passed through to be handled directly on the JDBC Connection instance.(package private) static class(package private) static classclassA transaction handler that always callsDelegatingTransactionHandler.rollback(org.jdbi.v3.core.Handle)instead ofRollbackOnlyTransactionHandler.commit(org.jdbi.v3.core.Handle).classA TransactionHandler that automatically retries transactions that fail due to serialization failures, which can generally be resolved by automatically retrying the transaction.Fields in org.jdbi.v3.core.transaction declared as TransactionHandlerModifier and TypeFieldDescriptionprivate final TransactionHandlerDelegatingTransactionHandler.delegateMethods in org.jdbi.v3.core.transaction that return TransactionHandlerModifier and TypeMethodDescriptionprotected TransactionHandlerDelegatingTransactionHandler.getDelegate()(package private) TransactionHandlerLocalTransactionHandler.nonspecial(Handle handle) LocalTransactionHandler.BindingLocalTransactionHandler.specialize(Handle handle) SerializableTransactionRunner.specialize(Handle handle) default TransactionHandlerTransactionHandler.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