Uses of Interface
org.hibernate.reactive.stage.Stage.Transaction
Packages that use Stage.Transaction
Package
Description
An API for Hibernate Reactive where non-blocking operations are
represented by a Java
CompletionStage.-
Uses of Stage.Transaction in org.hibernate.reactive.stage
Methods in org.hibernate.reactive.stage that return Stage.TransactionModifier and TypeMethodDescriptionStage.Session.currentTransaction()Obtain the transaction currently associated with this session, if any.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.TransactionModifier and TypeMethodDescription<T> CompletionStage<T>Stage.SessionFactory.withStatelessTransaction(String tenantId, BiFunction<Stage.StatelessSession, Stage.Transaction, CompletionStage<T>> work) Perform work using a reactive session for the tenant with the specified tenant id within an associatedtransaction.<T> CompletionStage<T>Stage.SessionFactory.withStatelessTransaction(BiFunction<Stage.StatelessSession, Stage.Transaction, CompletionStage<T>> work) Perform work using a reactive 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 a reactive session for the tenant with the specified tenant id within an associatedtransaction.<T> CompletionStage<T>Stage.SessionFactory.withTransaction(BiFunction<Stage.Session, Stage.Transaction, CompletionStage<T>> work) Perform work using a reactive 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.