Package org.jdbi.v3.core.transaction
Class LocalTransactionHandler.BindingLocalTransactionHandler
java.lang.Object
org.jdbi.v3.core.transaction.LocalTransactionHandler
org.jdbi.v3.core.transaction.LocalTransactionHandler.BindingLocalTransactionHandler
- All Implemented Interfaces:
TransactionHandler
- Enclosing class:
- LocalTransactionHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jdbi.v3.core.transaction.LocalTransactionHandler
LocalTransactionHandler.BindingLocalTransactionHandler, LocalTransactionHandler.BoundLocalTransactionHandler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionspecialize(Handle handle) Bind a TransactionHandler to a Handle, to allow it to track handle-local state.Methods inherited from class org.jdbi.v3.core.transaction.LocalTransactionHandler
begin, binding, commit, inTransaction, inTransaction, isInTransaction, nonspecial, releaseSavepoint, rollback, rollbackToSavepoint, savepoint
-
Constructor Details
-
BindingLocalTransactionHandler
BindingLocalTransactionHandler()
-
-
Method Details
-
specialize
Description copied from interface:TransactionHandlerBind a TransactionHandler to a Handle, to allow it to track handle-local state.- Parameters:
handle- the handle to bind to- Returns:
- the bound TransactionHandler
- Throws:
SQLException- bad things happened
-