Uses of Interface
org.hibernate.reactive.mutiny.Mutiny.Session
-
Packages that use Mutiny.Session Package Description org.hibernate.reactive.mutiny An API for Hibernate Reactive where non-blocking operations are represented by a MutinyUni.org.hibernate.reactive.mutiny.delegation org.hibernate.reactive.tuple -
-
Uses of Mutiny.Session in org.hibernate.reactive.mutiny
Methods in org.hibernate.reactive.mutiny that return Mutiny.Session Modifier and Type Method Description Mutiny.SessionMutiny.Session. clear()Completely clear the session.Mutiny.SessionMutiny.Session. detach(Object entity)Remove this instance from the session cache.Mutiny.SessionMutiny.Session. disableFetchProfile(String name)Disable a particular fetch profile on this session, or do nothing if the requested fetch profile is not enabled.Mutiny.SessionMutiny.Session. enableFetchProfile(String name)Enable a particular fetch profile on this session, or do nothing if requested fetch profile is already enabled.Mutiny.SessionMutiny.SessionFactory. getCurrentSession()Return the current instance ofMutiny.Session, if any.Mutiny.SessionMutiny.Session. setBatchSize(Integer batchSize)Set the session-level batch size, overriding the batch size set by the configuration propertyhibernate.jdbc.batch_size.Mutiny.SessionMutiny.Session. setCacheMode(CacheMode cacheMode)Set thecache modefor this session.default Mutiny.SessionMutiny.Session. setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode)Set theCacheRetrieveModefor this session.default Mutiny.SessionMutiny.Session. setCacheStoreMode(CacheStoreMode cacheStoreMode)Set theCacheStoreModefor this session.Mutiny.SessionMutiny.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.Mutiny.SessionMutiny.Session. setFetchBatchSize(int batchSize)Set the maximum batch size for batch fetching associations by id in this session.default Mutiny.SessionMutiny.Session. setFlushMode(FlushModeType flushModeType)Set theflush modefor this session.Mutiny.SessionMutiny.Session. setFlushMode(FlushMode flushMode)Set theflush modefor this session.Mutiny.SessionMutiny.Session. setReadOnly(Object entityOrProxy, boolean readOnly)Set an unmodified persistent object to read-only mode, or a read-only object to modifiable mode.Mutiny.SessionMutiny.Session. setSubselectFetchingEnabled(boolean enabled)Enable or disable subselect fetching in this session.Methods in org.hibernate.reactive.mutiny that return types with arguments of type Mutiny.Session Modifier and Type Method Description io.smallrye.mutiny.Uni<Mutiny.Session>Mutiny.SessionFactory. openSession()Obtain a newreactive sessionUni, the main interaction point between the user's program and Hibernate Reactive.io.smallrye.mutiny.Uni<Mutiny.Session>Mutiny.SessionFactory. openSession(String tenantId)Obtain a newreactive sessionUnifor a specified tenant.Method parameters in org.hibernate.reactive.mutiny with type arguments of type Mutiny.Session Modifier and Type Method Description <T> io.smallrye.mutiny.Uni<T>Mutiny.SessionFactory. withSession(String tenantId, Function<Mutiny.Session,io.smallrye.mutiny.Uni<T>> work)Perform work using areactive sessionfor a specified tenant.<T> io.smallrye.mutiny.Uni<T>Mutiny.SessionFactory. withSession(Function<Mutiny.Session,io.smallrye.mutiny.Uni<T>> work)Perform work using areactive session.<T> io.smallrye.mutiny.Uni<T>Mutiny.SessionFactory. withTransaction(String tenantId, BiFunction<Mutiny.Session,Mutiny.Transaction,io.smallrye.mutiny.Uni<T>> work)Perform work using areactive sessionfor a specified tenant within an associatedtransaction.<T> io.smallrye.mutiny.Uni<T>Mutiny.SessionFactory. withTransaction(BiFunction<Mutiny.Session,Mutiny.Transaction,io.smallrye.mutiny.Uni<T>> work)Perform work using areactive sessionwithin an associatedtransaction.default <T> io.smallrye.mutiny.Uni<T>Mutiny.SessionFactory. withTransaction(Function<Mutiny.Session,io.smallrye.mutiny.Uni<T>> work)Perform work using areactive sessionwithin an associated transaction. -
Uses of Mutiny.Session in org.hibernate.reactive.mutiny.delegation
Classes in org.hibernate.reactive.mutiny.delegation that implement Mutiny.Session Modifier and Type Class Description classMutinySessionDelegatorWraps a MutinySessionDelegator.delegate() session.Methods in org.hibernate.reactive.mutiny.delegation that return Mutiny.Session Modifier and Type Method Description Mutiny.SessionMutinySessionDelegator. clear()abstract Mutiny.SessionMutinySessionDelegator. delegate()Mutiny.SessionMutinySessionDelegator. detach(Object entity)Mutiny.SessionMutinySessionDelegator. disableFetchProfile(String name)Mutiny.SessionMutinySessionDelegator. enableFetchProfile(String name)Mutiny.SessionMutinySessionDelegator. setBatchSize(Integer batchSize)Mutiny.SessionMutinySessionDelegator. setCacheMode(CacheMode cacheMode)Mutiny.SessionMutinySessionDelegator. setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode)Mutiny.SessionMutinySessionDelegator. setCacheStoreMode(CacheStoreMode cacheStoreMode)Mutiny.SessionMutinySessionDelegator. setDefaultReadOnly(boolean readOnly)Mutiny.SessionMutinySessionDelegator. setFetchBatchSize(int batchSize)Mutiny.SessionMutinySessionDelegator. setFlushMode(FlushModeType flushModeType)Mutiny.SessionMutinySessionDelegator. setFlushMode(FlushMode flushMode)Mutiny.SessionMutinySessionDelegator. setReadOnly(Object entityOrProxy, boolean readOnly)Mutiny.SessionMutinySessionDelegator. setSubselectFetchingEnabled(boolean enabled) -
Uses of Mutiny.Session in org.hibernate.reactive.tuple
Methods in org.hibernate.reactive.tuple with parameters of type Mutiny.Session Modifier and Type Method Description abstract io.smallrye.mutiny.Uni<?>MutinyGenerator. generate(Mutiny.Session session, Object owner, Object currentValue, org.hibernate.generator.EventType eventType)
-