Interface HandleAwareUnitOfWork
-
- All Superinterfaces:
UnitOfWork
- All Known Implementing Classes:
GenericHandleAwareUnitOfWorkFactory.GenericHandleAwareUnitOfWork,SpringTransactionAwareJdbiUnitOfWorkFactory.SpringTransactionAwareHandleAwareUnitOfWork
public interface HandleAwareUnitOfWork extends UnitOfWork
Version of UnitOfWork that's aware of theHandleassociated with the currentUnitOfWork
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.jdbi.v3.core.Handlehandle()-
Methods inherited from interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWork
commit, getCauseOfRollback, markAsRollbackOnly, markAsRollbackOnly, registerLifecycleCallbackForResource, rollback, rollback, start, status
-
-
-
-
Method Detail
-
handle
org.jdbi.v3.core.Handle handle()
- Returns:
- the
Jdbihandle associated with the currentUnitOfWork - Throws:
UnitOfWorkException- If the transaction isn't active
-
-