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) reactiveRefresh
(String entityName, Object entity) reactiveRefresh
(String entityName, 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) reactiveUpsert
(String entityName, Object entity) 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, createReactiveNativeQuery, createReactiveNativeQuery, createReactiveNativeQuery, createReactiveNativeQuery, createReactiveNativeQuery, createReactiveNativeQuery, createReactiveNativeQuery, createReactiveNativeQuery, createReactiveNativeQuery, createReactiveQuery, createReactiveQuery, createReactiveQuery, createReactiveSelectionQuery, createReactiveSelectionQuery, getDialect, getEntityGraph, getFactory, getResultSetMapping, getSharedContract, reactiveFetch, reactiveInternalLoad
Methods inherited from interface org.hibernate.reactive.engine.spi.ReactiveSharedSessionContractImplementor
getPersistenceContext, reactiveAutoFlushIfRequired
-
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
-
reactiveUpsert
-
reactiveRefresh
-
reactiveRefresh
-
reactiveRefresh
-
reactiveRefresh
CompletionStage<Void> reactiveRefresh(String entityName, Object entity, org.hibernate.LockMode lockMode) -
reactiveInsertAll
-
reactiveInsertAll
-
reactiveUpdateAll
-
reactiveUpdateAll
-
reactiveDeleteAll
-
reactiveDeleteAll
-
reactiveRefreshAll
-
reactiveRefreshAll
-
isOpen
boolean isOpen() -
close
-
getIdentifier
-