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