Uses of Interface
org.hibernate.reactive.stage.Stage.Session
-
Packages that use Stage.Session Package Description org.hibernate.reactive.stage An API for Hibernate Reactive where non-blocking operations are represented by a JavaCompletionStage.org.hibernate.reactive.tuple -
-
Uses of Stage.Session in org.hibernate.reactive.stage
Methods in org.hibernate.reactive.stage that return Stage.Session Modifier and Type Method Description Stage.SessionStage.Session. clear()Completely clear the session.Stage.SessionStage.Session. detach(Object entity)Remove this instance from the session cache.Stage.SessionStage.Session. disableFetchProfile(String name)Disable a particular fetch profile on this session, or do nothing if the requested fetch profile is not enabled.Stage.SessionStage.Session. enableFetchProfile(String name)Enable a particular fetch profile on this session, or do nothing if requested fetch profile is already enabled.Stage.SessionStage.Session. setBatchSize(Integer batchSize)Set the session-level batch size, overriding the batch size set by the configuration propertyhibernate.jdbc.batch_size.Stage.SessionStage.Session. setCacheMode(CacheMode cacheMode)Set thecache modefor this session.default Stage.SessionStage.Session. setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode)Set theCacheRetrieveModefor this session.default Stage.SessionStage.Session. setCacheStoreMode(CacheStoreMode cacheStoreMode)Set theCacheStoreModefor this session.Stage.SessionStage.Session. setDefaultReadOnly(boolean readOnly)Change the default for entities and proxies loaded into this session from modifiable to read-only mode, or from modifiable to read-only mode.default Stage.SessionStage.Session. setFlushMode(FlushModeType flushModeType)Set theflush modefor this session.Stage.SessionStage.Session. setFlushMode(FlushMode flushMode)Set theflush modefor this session.Stage.SessionStage.Session. setReadOnly(Object entityOrProxy, boolean readOnly)Set an unmodified persistent object to read-only mode, or a read-only object to modifiable mode.Methods in org.hibernate.reactive.stage that return types with arguments of type Stage.Session Modifier and Type Method Description CompletionStage<Stage.Session>Stage.SessionFactory. openSession()Obtain a newreactive sessionCompletionStage, the main interaction point between the user's program and Hibernate Reactive.CompletionStage<Stage.Session>Stage.SessionFactory. openSession(String tenantId)Obtain a newreactive sessionCompletionStagefor a specified tenant.Method parameters in org.hibernate.reactive.stage with type arguments of type Stage.Session Modifier and Type Method Description <T> CompletionStage<T>Stage.SessionFactory. withSession(String tenantId, Function<Stage.Session,CompletionStage<T>> work)Perform work using areactive sessionfor a specified tenant.<T> CompletionStage<T>Stage.SessionFactory. withSession(Function<Stage.Session,CompletionStage<T>> work)Perform work using areactive session.<T> CompletionStage<T>Stage.SessionFactory. withTransaction(String tenantId, BiFunction<Stage.Session,Stage.Transaction,CompletionStage<T>> work)Perform work using areactive sessionfor a specified tenant within an associatedtransaction.<T> CompletionStage<T>Stage.SessionFactory. withTransaction(BiFunction<Stage.Session,Stage.Transaction,CompletionStage<T>> work)Perform work using areactive sessionwithin an associatedtransaction.default <T> CompletionStage<T>Stage.SessionFactory. withTransaction(Function<Stage.Session,CompletionStage<T>> work)Perform work using areactive sessionwithin an associated transaction. -
Uses of Stage.Session in org.hibernate.reactive.tuple
Methods in org.hibernate.reactive.tuple with parameters of type Stage.Session Modifier and Type Method Description abstract CompletionStage<T>StageValueGenerator. generateValue(Stage.Session session, Object owner)
-