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
static class LocalTransactionHandler.BindingLocalTransactionHandler extends LocalTransactionHandler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jdbi.v3.core.transaction.LocalTransactionHandler
LocalTransactionHandler.BindingLocalTransactionHandler, LocalTransactionHandler.BoundLocalTransactionHandler
-
-
Constructor Summary
Constructors Constructor Description BindingLocalTransactionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionHandlerspecialize(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
-
-
-
-
Method Detail
-
specialize
public TransactionHandler specialize(Handle handle) throws java.sql.SQLException
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:
java.sql.SQLException- bad things happened
-
-