Package org.hibernate.reactive.session
Interface ReactiveStatelessSession
-
- All Superinterfaces:
ReactiveConnectionSupplier
,ReactiveQueryProducer
,ReactiveSharedSessionContractImplementor
@Incubating public interface ReactiveStatelessSession extends ReactiveQueryProducer, ReactiveSharedSessionContractImplementor
Mutiny A contract with the Hibernate stateless session backing the user-visiblereactive session
.This is primarily an internal contract between the various subsystems of Hibernate Reactive.
- See Also:
Stage.Session
,Mutiny.Session
-
-
Method Summary
-
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 Detail
-
reactiveGet
<T> CompletionStage<T> reactiveGet(Class<? extends T> entityClass, Object id)
-
reactiveGet
<T> CompletionStage<T> reactiveGet(String entityName, Object id)
-
reactiveGet
<T> CompletionStage<T> reactiveGet(Class<? extends T> entityClass, Object id, LockMode lockMode, jakarta.persistence.EntityGraph<T> fetchGraph)
-
reactiveGet
<T> CompletionStage<T> reactiveGet(String entityName, Object id, LockMode lockMode, jakarta.persistence.EntityGraph<T> fetchGraph)
-
reactiveInsert
CompletionStage<Void> reactiveInsert(Object entity)
-
reactiveDelete
CompletionStage<Void> reactiveDelete(Object entity)
-
reactiveUpdate
CompletionStage<Void> reactiveUpdate(Object entity)
-
reactiveUpsert
CompletionStage<Void> reactiveUpsert(Object entity)
-
reactiveUpsert
CompletionStage<Void> reactiveUpsert(String entityName, Object entity)
-
reactiveRefresh
CompletionStage<Void> reactiveRefresh(Object entity)
-
reactiveRefresh
CompletionStage<Void> reactiveRefresh(String entityName, Object entity)
-
reactiveRefresh
CompletionStage<Void> reactiveRefresh(Object entity, LockMode lockMode)
-
reactiveRefresh
CompletionStage<Void> reactiveRefresh(String entityName, Object entity, LockMode lockMode)
-
reactiveInsertAll
CompletionStage<Void> reactiveInsertAll(Object... entities)
-
reactiveInsertAll
CompletionStage<Void> reactiveInsertAll(int batchSize, Object... entities)
-
reactiveUpdateAll
CompletionStage<Void> reactiveUpdateAll(Object... entities)
-
reactiveUpdateAll
CompletionStage<Void> reactiveUpdateAll(int batchSize, Object... entities)
-
reactiveDeleteAll
CompletionStage<Void> reactiveDeleteAll(Object... entities)
-
reactiveDeleteAll
CompletionStage<Void> reactiveDeleteAll(int batchSize, Object... entities)
-
reactiveRefreshAll
CompletionStage<Void> reactiveRefreshAll(Object... entities)
-
reactiveRefreshAll
CompletionStage<Void> reactiveRefreshAll(int batchSize, Object... entities)
-
isOpen
boolean isOpen()
-
close
void close(CompletableFuture<Void> closing)
-
-