Uses of Interface
org.jdbi.v3.core.transaction.TransactionHandler
-
Packages that use TransactionHandler Package Description org.jdbi.v3.core The 'core' package hosts the top level interface into jdbi core.org.jdbi.v3.core.transaction Thetransactionpackage implements the strategyJdbiuses to open and close transactions. -
-
Uses of TransactionHandler in org.jdbi.v3.core
Fields in org.jdbi.v3.core declared as TransactionHandler Modifier and Type Field Description private TransactionHandlerHandle. transactionHandlerFields in org.jdbi.v3.core with type parameters of type TransactionHandler Modifier and Type Field Description private java.util.concurrent.atomic.AtomicReference<TransactionHandler>Jdbi. transactionhandlerMethods in org.jdbi.v3.core that return TransactionHandler Modifier and Type Method Description TransactionHandlerJdbi. getTransactionHandler()Returns theTransactionHandler.Methods in org.jdbi.v3.core with parameters of type TransactionHandler Modifier and Type Method Description (package private) static HandleHandle. createHandle(Jdbi jdbi, Cleanable connectionCleaner, TransactionHandler transactionHandler, StatementBuilder statementBuilder, java.sql.Connection connection)JdbiJdbi. setTransactionHandler(TransactionHandler handler)Specify the TransactionHandler instance to use.Constructors in org.jdbi.v3.core with parameters of type TransactionHandler Constructor Description Handle(Jdbi jdbi, Cleanable connectionCleaner, TransactionHandler transactionHandler, StatementBuilder statementBuilder, java.sql.Connection connection) -
Uses of TransactionHandler in org.jdbi.v3.core.transaction
Classes in org.jdbi.v3.core.transaction that implement TransactionHandler Modifier and Type Class Description classCMTTransactionHandlerHandler designed to behave properly in a J2EE CMT environment.classDelegatingTransactionHandlerSimple delegating subclass that just invokes its delegate.classLocalTransactionHandlerThisTransactionHandleruses local JDBC transactions demarcated explicitly on the handle and passed through to be handled directly on the JDBC Connection instance.(package private) static classLocalTransactionHandler.BindingLocalTransactionHandler(package private) static classLocalTransactionHandler.BoundLocalTransactionHandlerclassRollbackOnlyTransactionHandlerA transaction handler that always callsDelegatingTransactionHandler.rollback(org.jdbi.v3.core.Handle)instead ofRollbackOnlyTransactionHandler.commit(org.jdbi.v3.core.Handle).classSerializableTransactionRunnerA 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 TransactionHandler Modifier and Type Field Description private TransactionHandlerDelegatingTransactionHandler. delegateMethods in org.jdbi.v3.core.transaction that return TransactionHandler Modifier and Type Method Description protected TransactionHandlerDelegatingTransactionHandler. getDelegate()(package private) TransactionHandlerLocalTransactionHandler. nonspecial(Handle handle)TransactionHandlerLocalTransactionHandler.BindingLocalTransactionHandler. specialize(Handle handle)TransactionHandlerSerializableTransactionRunner. 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 TransactionHandler Constructor Description DelegatingTransactionHandler(TransactionHandler delegate)RollbackOnlyTransactionHandler(TransactionHandler delegate)SerializableTransactionRunner(TransactionHandler delegate)
-