Uses of Interface
io.jooby.hibernate.UnitOfWork.TransactionHandler
-
Uses of UnitOfWork.TransactionHandler in io.jooby.hibernate
Method parameters in io.jooby.hibernate with type arguments of type UnitOfWork.TransactionHandlerModifier and TypeMethodDescriptiondefault voidUnitOfWork.accept(io.jooby.SneakyThrows.Consumer2<javax.persistence.EntityManager, UnitOfWork.TransactionHandler> callback) Runs the specified code block passing a reference to anEntityManagerand aUnitOfWork.TransactionHandlerto it.<T> TUnitOfWork.apply(io.jooby.SneakyThrows.Function2<javax.persistence.EntityManager, UnitOfWork.TransactionHandler, T> callback) Runs the specified code block passing a reference to anEntityManagerand aUnitOfWork.TransactionHandlerto it, and returns it's result.