Package | Description |
---|---|
org.hibernate.reactive.mutiny | An API for Hibernate Reactive where non-blocking operations are represented by a Mutiny io.smallrye.mutiny.Uni . |
org.hibernate.reactive.mutiny.impl |
Modifier and Type | Method and Description |
---|---|
<T> <any> | Mutiny.SessionFactory.withTransaction(BiFunction<Mutiny.Session,Mutiny.Transaction,<any>> work) Perform work using a reactive session within an associated transaction . |
<T> <any> | Mutiny.Session.withTransaction(Function<Mutiny.Transaction,<any>> work) Performs the given work within the scope of a database transaction, automatically flushing the session. |
<T> <any> | Mutiny.SessionFactory.withTransaction(String tenantId, BiFunction<Mutiny.Session,Mutiny.Transaction,<any>> work) Perform work using a reactive session for a specified tenant within an associated transaction . |
Modifier and Type | Method and Description |
---|---|
<T> <any> | MutinySessionFactoryImpl.withTransaction(BiFunction<Mutiny.Session,Mutiny.Transaction,<any>> work) |
<T> <any> | MutinySessionImpl.withTransaction(Function<Mutiny.Transaction,<any>> work) |
<T> <any> | MutinySessionFactoryImpl.withTransaction(String tenantId, BiFunction<Mutiny.Session,Mutiny.Transaction,<any>> work) |