Package dk.cloudcreate.essentials.components.foundation.transaction.jdbi
package dk.cloudcreate.essentials.components.foundation.transaction.jdbi
-
ClassDescriptionGenericHandleAwareUnitOfWorkFactory<UOW extends HandleAwareUnitOfWork>Generic
HandleAwareUnitOfWorkFactoryvariant where the implementation manually manages theUnitOfWorkand the underlying database Transaction.
This class is built for inheritance, but can also be used directly - e.g. through theJdbiUnitOfWorkFactory
If you e.g. need to have aUnitOfWorkjoin in with an existing Spring Managed transaction then please use the Spring specificUnitOfWorkFactory,SpringManagedUnitOfWorkFactory, provided with the spring-postgresql-event-store module.Version of UnitOfWork that's aware of theHandleassociated with the currentUnitOfWorkHandleAwareUnitOfWorkFactory<UOW extends HandleAwareUnitOfWork>Specialization ofUnitOfWorkFactorythat created and maintainsHandleAwareUnitOfWork's