Uses of Interface
org.hibernate.reactive.mutiny.Mutiny.Transaction
-
Packages that use Mutiny.Transaction Package Description org.hibernate.reactive.mutiny An API for Hibernate Reactive where non-blocking operations are represented by a MutinyUni
. -
-
Uses of Mutiny.Transaction in org.hibernate.reactive.mutiny
Methods in org.hibernate.reactive.mutiny that return Mutiny.Transaction Modifier and Type Method Description Mutiny.Transaction
Mutiny.Session. currentTransaction()
Obtain the transaction currently associated with this session, if any.Mutiny.Transaction
Mutiny.StatelessSession. currentTransaction()
Obtain the transaction currently associated with this session, if any.Method parameters in org.hibernate.reactive.mutiny with type arguments of type Mutiny.Transaction Modifier and Type Method Description <T> io.smallrye.mutiny.Uni<T>
Mutiny.SessionFactory. withStatelessTransaction(String tenantId, BiFunction<Mutiny.StatelessSession,Mutiny.Transaction,io.smallrye.mutiny.Uni<T>> work)
Perform work using areactive session
for a specified tenant within an associatedtransaction
.<T> io.smallrye.mutiny.Uni<T>
Mutiny.SessionFactory. withStatelessTransaction(BiFunction<Mutiny.StatelessSession,Mutiny.Transaction,io.smallrye.mutiny.Uni<T>> work)
Perform work using areactive session
within an associatedtransaction
.<T> io.smallrye.mutiny.Uni<T>
Mutiny.Session. withTransaction(Function<Mutiny.Transaction,io.smallrye.mutiny.Uni<T>> work)
Performs the given work within the scope of a database transaction, automatically flushing the session.<T> io.smallrye.mutiny.Uni<T>
Mutiny.SessionFactory. withTransaction(String tenantId, BiFunction<Mutiny.Session,Mutiny.Transaction,io.smallrye.mutiny.Uni<T>> work)
Perform work using areactive session
for a specified tenant within an associatedtransaction
.<T> io.smallrye.mutiny.Uni<T>
Mutiny.SessionFactory. withTransaction(BiFunction<Mutiny.Session,Mutiny.Transaction,io.smallrye.mutiny.Uni<T>> work)
Perform work using areactive session
within an associatedtransaction
.<T> io.smallrye.mutiny.Uni<T>
Mutiny.StatelessSession. withTransaction(Function<Mutiny.Transaction,io.smallrye.mutiny.Uni<T>> work)
Performs the given work within the scope of a database transaction, automatically flushing the session.
-