Package org.hibernate.internal
Class TransactionManagement
java.lang.Object
org.hibernate.internal.TransactionManagement
Methods used by
SessionFactory
to manage transactions.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <S> void
manageTransaction
(S session, Transaction transaction, Consumer<S> consumer) static <S,
R> R manageTransaction
(S session, Transaction transaction, Function<S, R> function)
-
Constructor Details
-
TransactionManagement
public TransactionManagement()
-
-
Method Details
-
manageTransaction
-
manageTransaction
public static <S,R> R manageTransaction(S session, Transaction transaction, Function<S, R> function)
-