java.lang.Object
dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory<UOW>
Type Parameters:
UOW - the concrete HandleAwareUnitOfWork - such as the GenericHandleAwareUnitOfWorkFactory.GenericHandleAwareUnitOfWork
All Implemented Interfaces:
HandleAwareUnitOfWorkFactory<UOW>, UnitOfWorkFactory<UOW>
Direct Known Subclasses:
JdbiUnitOfWorkFactory

public abstract class GenericHandleAwareUnitOfWorkFactory<UOW extends HandleAwareUnitOfWork> extends Object implements HandleAwareUnitOfWorkFactory<UOW>
Generic HandleAwareUnitOfWorkFactory variant where the implementation manually manages the UnitOfWork and the underlying database Transaction.
This class is built for inheritance, but can also be used directly - e.g. through the JdbiUnitOfWorkFactory

If you e.g. need to have a UnitOfWork join in with an existing Spring Managed transaction then please use the Spring specific UnitOfWorkFactory, SpringManagedUnitOfWorkFactory, provided with the spring-postgresql-event-store module.
See Also: