public class ReactivePersistenceContextAdapter
extends StatefulPersistenceContext
PersistenceContext
.Constructor and Description |
---|
ReactivePersistenceContextAdapter(SharedSessionContractImplementor session) Constructs a PersistentContext, bound to the given session. |
Modifier and Type | Method and Description |
---|---|
void | clear() |
Object[] | getCachedDatabaseSnapshot(EntityKey key) |
Object[] | getDatabaseSnapshot(Serializable id, EntityPersister persister) Deprecated. |
void | initializeNonLazyCollections() Deprecated. use reactiveInitializeNonLazyCollections() instead. |
CompletionStage<Object[]> | reactiveGetDatabaseSnapshot(Serializable id, EntityPersister persister) |
CompletionStage<Void> | reactiveInitializeNonLazyCollections() |
Object | removeEntity(EntityKey key) |
public ReactivePersistenceContextAdapter(SharedSessionContractImplementor session)
session
- The session "owning" this context.public CompletionStage<Void> reactiveInitializeNonLazyCollections() throws HibernateException
HibernateException
@Deprecated public void initializeNonLazyCollections()
reactiveInitializeNonLazyCollections()
instead.@Deprecated public Object[] getDatabaseSnapshot(Serializable id, EntityPersister persister) throws HibernateException
HibernateException
public CompletionStage<Object[]> reactiveGetDatabaseSnapshot(Serializable id, EntityPersister persister) throws HibernateException
HibernateException
public Object[] getCachedDatabaseSnapshot(EntityKey key)
public void clear()
public Object removeEntity(EntityKey key)