Package org.hibernate.reactive.session
Interface ReactiveStatelessSession
- All Superinterfaces:
ReactiveConnectionSupplier
,ReactiveQueryProducer
,ReactiveSharedSessionContractImplementor
- All Known Implementing Classes:
ReactiveStatelessSessionImpl
@Incubating
public interface ReactiveStatelessSession
extends ReactiveQueryProducer, ReactiveSharedSessionContractImplementor
Mutiny
A contract with the Hibernate stateless session backing the user-visible
reactive session
.
This is primarily an internal contract between the various subsystems of Hibernate Reactive.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close
(CompletableFuture<Void> closing) getIdentifier
(Object entity) boolean
isOpen()
reactiveDelete
(Object entity) reactiveDeleteAll
(int batchSize, Object... entities) reactiveDeleteAll
(Object... entities) <T> CompletionStage<T>
reactiveGet
(Class<T> entityClass, Object id) <T> CompletionStage<List<T>>
reactiveGet
(Class<T> entityClass, Object... id) <T> CompletionStage<T>
reactiveGet
(Class<T> entityClass, Object id, org.hibernate.LockMode lockMode, jakarta.persistence.EntityGraph<T> fetchGraph) <T> CompletionStage<T>
reactiveGet
(String entityName, Object id) <T> CompletionStage<T>
reactiveGet
(String entityName, Object id, org.hibernate.LockMode lockMode, jakarta.persistence.EntityGraph<T> fetchGraph) reactiveInsert
(Object entity) reactiveInsertAll
(int batchSize, Object... entities) reactiveInsertAll
(Object... entities) reactiveRefresh
(Object entity) reactiveRefresh
(Object entity, org.hibernate.LockMode lockMode) reactiveRefreshAll
(int batchSize, Object... entities) reactiveRefreshAll
(Object... entities) reactiveUpdate
(Object entity) reactiveUpdateAll
(int batchSize, Object... entities) reactiveUpdateAll
(Object... entities) reactiveUpsert
(Object entity) reactiveUpsertAll
(int batchSize, Object... entities) Methods inherited from interface org.hibernate.reactive.session.ReactiveConnectionSupplier
getReactiveConnection
Methods inherited from interface org.hibernate.reactive.session.ReactiveQueryProducer
createEntityGraph, createEntityGraph, createNamedReactiveMutationQuery, createNamedReactiveSelectionQuery, createNamedReactiveSelectionQuery, createNativeReactiveMutationQuery, createReactiveMutationQuery, createReactiveMutationQuery, createReactiveMutationQuery, createReactiveMutationQuery, createReactiveNamedQuery, createReactiveNamedQuery, createReactiveNativeQuery, createReactiveNativeQuery, createReactiveNativeQuery, createReactiveNativeQuery, createReactiveNativeQuery, createReactiveNativeQuery, createReactiveNativeQuery, createReactiveNativeQuery, createReactiveNativeQuery, createReactiveQuery, createReactiveQuery, createReactiveQuery, createReactiveQuery, createReactiveSelectionQuery, createReactiveSelectionQuery, getDialect, getEntityGraph, getFactory, getResultSetMapping, getSharedContract, reactiveFetch, reactiveInternalLoad
Methods inherited from interface org.hibernate.reactive.engine.spi.ReactiveSharedSessionContractImplementor
getPersistenceContext, reactiveAutoFlushIfRequired, reactiveImmediateLoad, reactiveInitializeCollection
-
Method Details
-
reactiveGet
-
reactiveGet
-
reactiveGet
-
reactiveGet
<T> CompletionStage<T> reactiveGet(Class<T> entityClass, Object id, org.hibernate.LockMode lockMode, jakarta.persistence.EntityGraph<T> fetchGraph) -
reactiveGet
<T> CompletionStage<T> reactiveGet(String entityName, Object id, org.hibernate.LockMode lockMode, jakarta.persistence.EntityGraph<T> fetchGraph) -
reactiveInsert
-
reactiveDelete
-
reactiveUpdate
-
reactiveUpsert
-
reactiveUpsertAll
-
reactiveRefresh
-
reactiveRefresh
-
reactiveInsertAll
-
reactiveInsertAll
-
reactiveUpdateAll
-
reactiveUpdateAll
-
reactiveDeleteAll
-
reactiveDeleteAll
-
reactiveRefreshAll
-
reactiveRefreshAll
-
isOpen
boolean isOpen() -
close
-
getIdentifier
-