Package org.jdbi.v3.core.transaction
Class RollbackOnlyTransactionHandler
java.lang.Object
org.jdbi.v3.core.transaction.DelegatingTransactionHandler
org.jdbi.v3.core.transaction.RollbackOnlyTransactionHandler
- All Implemented Interfaces:
- TransactionHandler
A transaction handler that always calls 
DelegatingTransactionHandler.rollback(org.jdbi.v3.core.Handle) instead
 of commit(org.jdbi.v3.core.Handle).- 
Constructor SummaryConstructorsConstructorDescription
- 
Method SummaryMethods inherited from class org.jdbi.v3.core.transaction.DelegatingTransactionHandlerbegin, inTransaction, inTransaction, isInTransaction, releaseSavepoint, rollback, rollbackToSavepoint, savepointMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jdbi.v3.core.transaction.TransactionHandlerspecialize
- 
Constructor Details- 
RollbackOnlyTransactionHandlerpublic RollbackOnlyTransactionHandler()
- 
RollbackOnlyTransactionHandler
 
- 
- 
Method Details- 
commitDescription copied from interface:TransactionHandlerCommit the transaction.- Specified by:
- commitin interface- TransactionHandler
- Overrides:
- commitin class- DelegatingTransactionHandler
- Parameters:
- handle- the handle the commit is being performed on
 
 
-