Package | Description |
---|---|
org.hibernate.reactive.common.spi | |
org.hibernate.reactive.mutiny |
An API for Hibernate Reactive where non-blocking operations are
represented by a Mutiny
Uni . |
Modifier and Type | Method and Description |
---|---|
Mutiny.StatelessSession |
MutinyImplementor.newStatelessSession()
Deprecated.
Obtain a
reactive stateless session . |
Mutiny.StatelessSession |
MutinyImplementor.newStatelessSession(String tenantId)
Deprecated.
Obtain a
reactive stateless session . |
Modifier and Type | Method and Description |
---|---|
io.smallrye.mutiny.Uni<Mutiny.StatelessSession> |
Mutiny.SessionFactory.openStatelessSession()
Obtain a
reactive stateless session
Uni . |
io.smallrye.mutiny.Uni<Mutiny.StatelessSession> |
Mutiny.SessionFactory.openStatelessSession(String tenantId)
Obtain a
reactive stateless session
Uni . |
Modifier and Type | Method and Description |
---|---|
<T> io.smallrye.mutiny.Uni<T> |
Mutiny.SessionFactory.withStatelessSession(Function<Mutiny.StatelessSession,io.smallrye.mutiny.Uni<T>> work)
Perform work using a
stateless session . |
<T> io.smallrye.mutiny.Uni<T> |
Mutiny.SessionFactory.withStatelessSession(String tenantId,
Function<Mutiny.StatelessSession,io.smallrye.mutiny.Uni<T>> work)
Perform work using a
stateless session . |
<T> io.smallrye.mutiny.Uni<T> |
Mutiny.SessionFactory.withStatelessTransaction(BiFunction<Mutiny.StatelessSession,Mutiny.Transaction,io.smallrye.mutiny.Uni<T>> work)
Perform work using a
reactive session within an
associated transaction . |
default <T> io.smallrye.mutiny.Uni<T> |
Mutiny.SessionFactory.withStatelessTransaction(Function<Mutiny.StatelessSession,io.smallrye.mutiny.Uni<T>> work)
Perform work using a
reactive session within an
associated transaction . |
<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 a
reactive session for a
specified tenant within an associated transaction . |
Copyright © 2020-2022 Red Hat, Inc. All Rights Reserved.