Class ReactivePersistenceContextAdapter

java.lang.Object
org.hibernate.engine.internal.ReactivePersistenceContextAdapter
All Implemented Interfaces:
org.hibernate.engine.spi.PersistenceContext

public class ReactivePersistenceContextAdapter extends Object implements org.hibernate.engine.spi.PersistenceContext
Add reactive methods to a PersistenceContext.
  • Constructor Details

    • ReactivePersistenceContextAdapter

      public ReactivePersistenceContextAdapter(org.hibernate.engine.spi.PersistenceContext persistenceContext)
      Constructs a PersistentContext, bound to the given session.
  • Method Details

    • reactiveInitializeNonLazyCollections

      public CompletionStage<Void> reactiveInitializeNonLazyCollections() throws org.hibernate.HibernateException
      Throws:
      org.hibernate.HibernateException
    • initializeNonLazyCollections

      @Deprecated public void initializeNonLazyCollections()
      Deprecated.
      Specified by:
      initializeNonLazyCollections in interface org.hibernate.engine.spi.PersistenceContext
    • initializeNonLazyCollections

      public void initializeNonLazyCollections(Consumer<org.hibernate.collection.spi.PersistentCollection<?>> initializeAction)
      Specified by:
      initializeNonLazyCollections in interface org.hibernate.engine.spi.PersistenceContext
    • getDatabaseSnapshot

      @Deprecated public Object[] getDatabaseSnapshot(Object id, org.hibernate.persister.entity.EntityPersister persister) throws org.hibernate.HibernateException
      Deprecated.
      Specified by:
      getDatabaseSnapshot in interface org.hibernate.engine.spi.PersistenceContext
      Throws:
      org.hibernate.HibernateException
    • reactiveGetDatabaseSnapshot

      public CompletionStage<Object[]> reactiveGetDatabaseSnapshot(Object id, org.hibernate.persister.entity.EntityPersister persister) throws org.hibernate.HibernateException
      Throws:
      org.hibernate.HibernateException
    • isStateless

      public boolean isStateless()
      Specified by:
      isStateless in interface org.hibernate.engine.spi.PersistenceContext
    • getSession

      public org.hibernate.engine.spi.SharedSessionContractImplementor getSession()
      Specified by:
      getSession in interface org.hibernate.engine.spi.PersistenceContext
    • getLoadContexts

      public org.hibernate.sql.results.spi.LoadContexts getLoadContexts()
      Specified by:
      getLoadContexts in interface org.hibernate.engine.spi.PersistenceContext
    • hasLoadContext

      public boolean hasLoadContext()
      Specified by:
      hasLoadContext in interface org.hibernate.engine.spi.PersistenceContext
    • useUnownedCollection

      public org.hibernate.collection.spi.PersistentCollection<?> useUnownedCollection(org.hibernate.engine.spi.CollectionKey key)
      Specified by:
      useUnownedCollection in interface org.hibernate.engine.spi.PersistenceContext
    • getBatchFetchQueue

      public org.hibernate.engine.spi.BatchFetchQueue getBatchFetchQueue()
      Specified by:
      getBatchFetchQueue in interface org.hibernate.engine.spi.PersistenceContext
    • clear

      public void clear()
      Specified by:
      clear in interface org.hibernate.engine.spi.PersistenceContext
    • setEntryStatus

      public void setEntryStatus(org.hibernate.engine.spi.EntityEntry entry, org.hibernate.engine.spi.Status status)
      Specified by:
      setEntryStatus in interface org.hibernate.engine.spi.PersistenceContext
    • afterTransactionCompletion

      public void afterTransactionCompletion()
      Specified by:
      afterTransactionCompletion in interface org.hibernate.engine.spi.PersistenceContext
    • getCachedDatabaseSnapshot

      public Object[] getCachedDatabaseSnapshot(org.hibernate.engine.spi.EntityKey key)
      Specified by:
      getCachedDatabaseSnapshot in interface org.hibernate.engine.spi.PersistenceContext
    • getNaturalIdSnapshot

      public Object getNaturalIdSnapshot(Object id, org.hibernate.persister.entity.EntityPersister persister)
      Specified by:
      getNaturalIdSnapshot in interface org.hibernate.engine.spi.PersistenceContext
    • addEntity

      public void addEntity(org.hibernate.engine.spi.EntityKey key, Object entity)
      Specified by:
      addEntity in interface org.hibernate.engine.spi.PersistenceContext
    • getEntity

      public Object getEntity(org.hibernate.engine.spi.EntityKey key)
      Specified by:
      getEntity in interface org.hibernate.engine.spi.PersistenceContext
    • containsEntity

      public boolean containsEntity(org.hibernate.engine.spi.EntityKey key)
      Specified by:
      containsEntity in interface org.hibernate.engine.spi.PersistenceContext
    • removeEntity

      public Object removeEntity(org.hibernate.engine.spi.EntityKey key)
      Specified by:
      removeEntity in interface org.hibernate.engine.spi.PersistenceContext
    • addEntity

      public void addEntity(org.hibernate.engine.spi.EntityUniqueKey euk, Object entity)
      Specified by:
      addEntity in interface org.hibernate.engine.spi.PersistenceContext
    • getEntity

      public Object getEntity(org.hibernate.engine.spi.EntityUniqueKey euk)
      Specified by:
      getEntity in interface org.hibernate.engine.spi.PersistenceContext
    • getEntry

      public org.hibernate.engine.spi.EntityEntry getEntry(Object entity)
      Specified by:
      getEntry in interface org.hibernate.engine.spi.PersistenceContext
    • removeEntry

      public org.hibernate.engine.spi.EntityEntry removeEntry(Object entity)
      Specified by:
      removeEntry in interface org.hibernate.engine.spi.PersistenceContext
    • isEntryFor

      public boolean isEntryFor(Object entity)
      Specified by:
      isEntryFor in interface org.hibernate.engine.spi.PersistenceContext
    • getCollectionEntry

      public org.hibernate.engine.spi.CollectionEntry getCollectionEntry(org.hibernate.collection.spi.PersistentCollection<?> coll)
      Specified by:
      getCollectionEntry in interface org.hibernate.engine.spi.PersistenceContext
    • addEntity

      public org.hibernate.engine.spi.EntityEntry addEntity(Object entity, org.hibernate.engine.spi.Status status, Object[] loadedState, org.hibernate.engine.spi.EntityKey entityKey, Object version, org.hibernate.LockMode lockMode, boolean existsInDatabase, org.hibernate.persister.entity.EntityPersister persister, boolean disableVersionIncrement)
      Specified by:
      addEntity in interface org.hibernate.engine.spi.PersistenceContext
    • addEntry

      public org.hibernate.engine.spi.EntityEntry addEntry(Object entity, org.hibernate.engine.spi.Status status, Object[] loadedState, Object rowId, Object id, Object version, org.hibernate.LockMode lockMode, boolean existsInDatabase, org.hibernate.persister.entity.EntityPersister persister, boolean disableVersionIncrement)
      Specified by:
      addEntry in interface org.hibernate.engine.spi.PersistenceContext
    • addReferenceEntry

      public org.hibernate.engine.spi.EntityEntry addReferenceEntry(Object entity, org.hibernate.engine.spi.Status status)
      Specified by:
      addReferenceEntry in interface org.hibernate.engine.spi.PersistenceContext
    • containsCollection

      public boolean containsCollection(org.hibernate.collection.spi.PersistentCollection<?> collection)
      Specified by:
      containsCollection in interface org.hibernate.engine.spi.PersistenceContext
    • containsProxy

      public boolean containsProxy(Object proxy)
      Specified by:
      containsProxy in interface org.hibernate.engine.spi.PersistenceContext
    • reassociateIfUninitializedProxy

      public boolean reassociateIfUninitializedProxy(Object value)
      Specified by:
      reassociateIfUninitializedProxy in interface org.hibernate.engine.spi.PersistenceContext
    • reassociateProxy

      public void reassociateProxy(Object value, Object id)
      Specified by:
      reassociateProxy in interface org.hibernate.engine.spi.PersistenceContext
    • unproxy

      public Object unproxy(Object maybeProxy)
      Specified by:
      unproxy in interface org.hibernate.engine.spi.PersistenceContext
    • unproxyAndReassociate

      public Object unproxyAndReassociate(Object maybeProxy)
      Specified by:
      unproxyAndReassociate in interface org.hibernate.engine.spi.PersistenceContext
    • checkUniqueness

      public void checkUniqueness(org.hibernate.engine.spi.EntityKey key, Object object)
      Specified by:
      checkUniqueness in interface org.hibernate.engine.spi.PersistenceContext
    • narrowProxy

      public Object narrowProxy(Object proxy, org.hibernate.persister.entity.EntityPersister persister, org.hibernate.engine.spi.EntityKey key, Object object)
      Specified by:
      narrowProxy in interface org.hibernate.engine.spi.PersistenceContext
    • proxyFor

      public Object proxyFor(org.hibernate.persister.entity.EntityPersister persister, org.hibernate.engine.spi.EntityKey key, Object impl)
      Specified by:
      proxyFor in interface org.hibernate.engine.spi.PersistenceContext
    • proxyFor

      public Object proxyFor(Object impl)
      Specified by:
      proxyFor in interface org.hibernate.engine.spi.PersistenceContext
    • proxyFor

      public Object proxyFor(org.hibernate.engine.spi.EntityHolder holder, org.hibernate.persister.entity.EntityPersister persister)
      Specified by:
      proxyFor in interface org.hibernate.engine.spi.PersistenceContext
    • addEnhancedProxy

      public void addEnhancedProxy(org.hibernate.engine.spi.EntityKey key, org.hibernate.engine.spi.PersistentAttributeInterceptable entity)
      Specified by:
      addEnhancedProxy in interface org.hibernate.engine.spi.PersistenceContext
    • getCollectionOwner

      public Object getCollectionOwner(Object key, org.hibernate.persister.collection.CollectionPersister collectionPersister)
      Specified by:
      getCollectionOwner in interface org.hibernate.engine.spi.PersistenceContext
    • getLoadedCollectionOwnerOrNull

      public Object getLoadedCollectionOwnerOrNull(org.hibernate.collection.spi.PersistentCollection<?> collection)
      Specified by:
      getLoadedCollectionOwnerOrNull in interface org.hibernate.engine.spi.PersistenceContext
    • getLoadedCollectionOwnerIdOrNull

      public Object getLoadedCollectionOwnerIdOrNull(org.hibernate.collection.spi.PersistentCollection<?> collection)
      Specified by:
      getLoadedCollectionOwnerIdOrNull in interface org.hibernate.engine.spi.PersistenceContext
    • addUninitializedCollection

      public void addUninitializedCollection(org.hibernate.persister.collection.CollectionPersister persister, org.hibernate.collection.spi.PersistentCollection<?> collection, Object id)
      Specified by:
      addUninitializedCollection in interface org.hibernate.engine.spi.PersistenceContext
    • addUninitializedDetachedCollection

      public void addUninitializedDetachedCollection(org.hibernate.persister.collection.CollectionPersister persister, org.hibernate.collection.spi.PersistentCollection<?> collection)
      Specified by:
      addUninitializedDetachedCollection in interface org.hibernate.engine.spi.PersistenceContext
    • addNewCollection

      public void addNewCollection(org.hibernate.persister.collection.CollectionPersister persister, org.hibernate.collection.spi.PersistentCollection<?> collection)
      Specified by:
      addNewCollection in interface org.hibernate.engine.spi.PersistenceContext
    • addInitializedDetachedCollection

      public void addInitializedDetachedCollection(org.hibernate.persister.collection.CollectionPersister collectionPersister, org.hibernate.collection.spi.PersistentCollection<?> collection)
      Specified by:
      addInitializedDetachedCollection in interface org.hibernate.engine.spi.PersistenceContext
    • replaceCollection

      public void replaceCollection(org.hibernate.persister.collection.CollectionPersister persister, org.hibernate.collection.spi.PersistentCollection<?> oldCollection, org.hibernate.collection.spi.PersistentCollection<?> collection)
      Specified by:
      replaceCollection in interface org.hibernate.engine.spi.PersistenceContext
    • addInitializedCollection

      public org.hibernate.engine.spi.CollectionEntry addInitializedCollection(org.hibernate.persister.collection.CollectionPersister persister, org.hibernate.collection.spi.PersistentCollection<?> collection, Object id)
      Specified by:
      addInitializedCollection in interface org.hibernate.engine.spi.PersistenceContext
    • getCollection

      public org.hibernate.collection.spi.PersistentCollection<?> getCollection(org.hibernate.engine.spi.CollectionKey collectionKey)
      Specified by:
      getCollection in interface org.hibernate.engine.spi.PersistenceContext
    • addNonLazyCollection

      public void addNonLazyCollection(org.hibernate.collection.spi.PersistentCollection<?> collection)
      Specified by:
      addNonLazyCollection in interface org.hibernate.engine.spi.PersistenceContext
    • getCollectionHolder

      public org.hibernate.collection.spi.PersistentCollection<?> getCollectionHolder(Object array)
      Specified by:
      getCollectionHolder in interface org.hibernate.engine.spi.PersistenceContext
    • addCollectionHolder

      public void addCollectionHolder(org.hibernate.collection.spi.PersistentCollection<?> holder)
      Specified by:
      addCollectionHolder in interface org.hibernate.engine.spi.PersistenceContext
    • removeCollectionHolder

      public org.hibernate.collection.spi.PersistentCollection<?> removeCollectionHolder(Object array)
      Specified by:
      removeCollectionHolder in interface org.hibernate.engine.spi.PersistenceContext
    • getSnapshot

      public Serializable getSnapshot(org.hibernate.collection.spi.PersistentCollection<?> coll)
      Specified by:
      getSnapshot in interface org.hibernate.engine.spi.PersistenceContext
    • getProxy

      public Object getProxy(org.hibernate.engine.spi.EntityKey key)
      Specified by:
      getProxy in interface org.hibernate.engine.spi.PersistenceContext
    • addProxy

      public void addProxy(org.hibernate.engine.spi.EntityKey key, Object proxy)
      Specified by:
      addProxy in interface org.hibernate.engine.spi.PersistenceContext
    • removeProxy

      public Object removeProxy(org.hibernate.engine.spi.EntityKey key)
      Specified by:
      removeProxy in interface org.hibernate.engine.spi.PersistenceContext
    • claimEntityHolderIfPossible

      public org.hibernate.engine.spi.EntityHolder claimEntityHolderIfPossible(org.hibernate.engine.spi.EntityKey key, Object entity, org.hibernate.sql.results.jdbc.spi.JdbcValuesSourceProcessingState processingState, org.hibernate.sql.results.graph.entity.EntityInitializer<?> initializer)
      Specified by:
      claimEntityHolderIfPossible in interface org.hibernate.engine.spi.PersistenceContext
    • addEntityHolder

      public org.hibernate.engine.spi.EntityHolder addEntityHolder(org.hibernate.engine.spi.EntityKey key, Object entity)
      Specified by:
      addEntityHolder in interface org.hibernate.engine.spi.PersistenceContext
    • getEntityHolder

      public org.hibernate.engine.spi.EntityHolder getEntityHolder(org.hibernate.engine.spi.EntityKey key)
      Specified by:
      getEntityHolder in interface org.hibernate.engine.spi.PersistenceContext
    • containsEntityHolder

      public boolean containsEntityHolder(org.hibernate.engine.spi.EntityKey key)
      Specified by:
      containsEntityHolder in interface org.hibernate.engine.spi.PersistenceContext
    • removeEntityHolder

      public org.hibernate.engine.spi.EntityHolder removeEntityHolder(org.hibernate.engine.spi.EntityKey key)
      Specified by:
      removeEntityHolder in interface org.hibernate.engine.spi.PersistenceContext
    • postLoad

      public void postLoad(org.hibernate.sql.results.jdbc.spi.JdbcValuesSourceProcessingState processingState, Consumer<org.hibernate.engine.spi.EntityHolder> loadedConsumer)
      Specified by:
      postLoad in interface org.hibernate.engine.spi.PersistenceContext
    • getEntitiesByKey

      @Internal public Map<org.hibernate.engine.spi.EntityKey,Object> getEntitiesByKey()
      Specified by:
      getEntitiesByKey in interface org.hibernate.engine.spi.PersistenceContext
    • getEntityHoldersByKey

      @Internal public Map<org.hibernate.engine.spi.EntityKey,org.hibernate.engine.spi.EntityHolder> getEntityHoldersByKey()
      Specified by:
      getEntityHoldersByKey in interface org.hibernate.engine.spi.PersistenceContext
    • reentrantSafeEntityEntries

      public Map.Entry<Object,org.hibernate.engine.spi.EntityEntry>[] reentrantSafeEntityEntries()
      Specified by:
      reentrantSafeEntityEntries in interface org.hibernate.engine.spi.PersistenceContext
    • getNumberOfManagedEntities

      public int getNumberOfManagedEntities()
      Specified by:
      getNumberOfManagedEntities in interface org.hibernate.engine.spi.PersistenceContext
    • getCollectionEntries

      @Internal public Map<org.hibernate.collection.spi.PersistentCollection<?>,org.hibernate.engine.spi.CollectionEntry> getCollectionEntries()
      Specified by:
      getCollectionEntries in interface org.hibernate.engine.spi.PersistenceContext
    • forEachCollectionEntry

      public void forEachCollectionEntry(BiConsumer<org.hibernate.collection.spi.PersistentCollection<?>,org.hibernate.engine.spi.CollectionEntry> action, boolean concurrent)
      Specified by:
      forEachCollectionEntry in interface org.hibernate.engine.spi.PersistenceContext
    • getCollectionsByKey

      @Deprecated public Map<org.hibernate.engine.spi.CollectionKey,org.hibernate.collection.spi.PersistentCollection<?>> getCollectionsByKey()
      Deprecated.
      Specified by:
      getCollectionsByKey in interface org.hibernate.engine.spi.PersistenceContext
    • getCascadeLevel

      public int getCascadeLevel()
      Specified by:
      getCascadeLevel in interface org.hibernate.engine.spi.PersistenceContext
    • incrementCascadeLevel

      public int incrementCascadeLevel()
      Specified by:
      incrementCascadeLevel in interface org.hibernate.engine.spi.PersistenceContext
    • decrementCascadeLevel

      public int decrementCascadeLevel()
      Specified by:
      decrementCascadeLevel in interface org.hibernate.engine.spi.PersistenceContext
    • isFlushing

      public boolean isFlushing()
      Specified by:
      isFlushing in interface org.hibernate.engine.spi.PersistenceContext
    • setFlushing

      public void setFlushing(boolean flushing)
      Specified by:
      setFlushing in interface org.hibernate.engine.spi.PersistenceContext
    • beforeLoad

      public void beforeLoad()
      Specified by:
      beforeLoad in interface org.hibernate.engine.spi.PersistenceContext
    • afterLoad

      public void afterLoad()
      Specified by:
      afterLoad in interface org.hibernate.engine.spi.PersistenceContext
    • isLoadFinished

      public boolean isLoadFinished()
      Specified by:
      isLoadFinished in interface org.hibernate.engine.spi.PersistenceContext
    • toString

      public String toString()
      Specified by:
      toString in interface org.hibernate.engine.spi.PersistenceContext
      Overrides:
      toString in class Object
    • getOwnerId

      public Object getOwnerId(String entityName, String propertyName, Object childEntity, Map mergeMap)
      Specified by:
      getOwnerId in interface org.hibernate.engine.spi.PersistenceContext
    • getIndexInOwner

      public Object getIndexInOwner(String entity, String property, Object childObject, Map mergeMap)
      Specified by:
      getIndexInOwner in interface org.hibernate.engine.spi.PersistenceContext
    • addNullProperty

      public void addNullProperty(org.hibernate.engine.spi.EntityKey ownerKey, String propertyName)
      Specified by:
      addNullProperty in interface org.hibernate.engine.spi.PersistenceContext
    • isPropertyNull

      public boolean isPropertyNull(org.hibernate.engine.spi.EntityKey ownerKey, String propertyName)
      Specified by:
      isPropertyNull in interface org.hibernate.engine.spi.PersistenceContext
    • isDefaultReadOnly

      public boolean isDefaultReadOnly()
      Specified by:
      isDefaultReadOnly in interface org.hibernate.engine.spi.PersistenceContext
    • setDefaultReadOnly

      public void setDefaultReadOnly(boolean readOnly)
      Specified by:
      setDefaultReadOnly in interface org.hibernate.engine.spi.PersistenceContext
    • isReadOnly

      public boolean isReadOnly(Object entityOrProxy)
      Specified by:
      isReadOnly in interface org.hibernate.engine.spi.PersistenceContext
    • setReadOnly

      public void setReadOnly(Object entityOrProxy, boolean readOnly)
      Specified by:
      setReadOnly in interface org.hibernate.engine.spi.PersistenceContext
    • isRemovingOrphanBeforeUpdates

      public boolean isRemovingOrphanBeforeUpdates()
      Specified by:
      isRemovingOrphanBeforeUpdates in interface org.hibernate.engine.spi.PersistenceContext
    • beginRemoveOrphanBeforeUpdates

      public void beginRemoveOrphanBeforeUpdates()
      Specified by:
      beginRemoveOrphanBeforeUpdates in interface org.hibernate.engine.spi.PersistenceContext
    • endRemoveOrphanBeforeUpdates

      public void endRemoveOrphanBeforeUpdates()
      Specified by:
      endRemoveOrphanBeforeUpdates in interface org.hibernate.engine.spi.PersistenceContext
    • replaceDelayedEntityIdentityInsertKeys

      public void replaceDelayedEntityIdentityInsertKeys(org.hibernate.engine.spi.EntityKey oldKey, Object generatedId)
      Specified by:
      replaceDelayedEntityIdentityInsertKeys in interface org.hibernate.engine.spi.PersistenceContext
    • replaceEntityEntryRowId

      @Internal public void replaceEntityEntryRowId(Object entity, Object rowId)
      Specified by:
      replaceEntityEntryRowId in interface org.hibernate.engine.spi.PersistenceContext
    • addChildParent

      public void addChildParent(Object child, Object parent)
      Specified by:
      addChildParent in interface org.hibernate.engine.spi.PersistenceContext
    • removeChildParent

      public void removeChildParent(Object child)
      Specified by:
      removeChildParent in interface org.hibernate.engine.spi.PersistenceContext
    • registerInsertedKey

      public void registerInsertedKey(org.hibernate.persister.entity.EntityPersister persister, Object id)
      Specified by:
      registerInsertedKey in interface org.hibernate.engine.spi.PersistenceContext
    • wasInsertedDuringTransaction

      public boolean wasInsertedDuringTransaction(org.hibernate.persister.entity.EntityPersister persister, Object id)
      Specified by:
      wasInsertedDuringTransaction in interface org.hibernate.engine.spi.PersistenceContext
    • containsNullifiableEntityKey

      public boolean containsNullifiableEntityKey(Supplier<org.hibernate.engine.spi.EntityKey> sek)
      Specified by:
      containsNullifiableEntityKey in interface org.hibernate.engine.spi.PersistenceContext
    • registerNullifiableEntityKey

      public void registerNullifiableEntityKey(org.hibernate.engine.spi.EntityKey key)
      Specified by:
      registerNullifiableEntityKey in interface org.hibernate.engine.spi.PersistenceContext
    • isNullifiableEntityKeysEmpty

      public boolean isNullifiableEntityKeysEmpty()
      Specified by:
      isNullifiableEntityKeysEmpty in interface org.hibernate.engine.spi.PersistenceContext
    • containsDeletedUnloadedEntityKey

      public boolean containsDeletedUnloadedEntityKey(org.hibernate.engine.spi.EntityKey ek)
      Specified by:
      containsDeletedUnloadedEntityKey in interface org.hibernate.engine.spi.PersistenceContext
    • registerDeletedUnloadedEntityKey

      public void registerDeletedUnloadedEntityKey(org.hibernate.engine.spi.EntityKey key)
      Specified by:
      registerDeletedUnloadedEntityKey in interface org.hibernate.engine.spi.PersistenceContext
    • removeDeletedUnloadedEntityKey

      public void removeDeletedUnloadedEntityKey(org.hibernate.engine.spi.EntityKey key)
      Specified by:
      removeDeletedUnloadedEntityKey in interface org.hibernate.engine.spi.PersistenceContext
    • containsDeletedUnloadedEntityKeys

      public boolean containsDeletedUnloadedEntityKeys()
      Specified by:
      containsDeletedUnloadedEntityKeys in interface org.hibernate.engine.spi.PersistenceContext
    • getCollectionEntriesSize

      public int getCollectionEntriesSize()
      Specified by:
      getCollectionEntriesSize in interface org.hibernate.engine.spi.PersistenceContext
    • removeCollectionEntry

      public org.hibernate.engine.spi.CollectionEntry removeCollectionEntry(org.hibernate.collection.spi.PersistentCollection<?> collection)
      Specified by:
      removeCollectionEntry in interface org.hibernate.engine.spi.PersistenceContext
    • clearCollectionsByKey

      public void clearCollectionsByKey()
      Specified by:
      clearCollectionsByKey in interface org.hibernate.engine.spi.PersistenceContext
    • addCollectionByKey

      public org.hibernate.collection.spi.PersistentCollection<?> addCollectionByKey(org.hibernate.engine.spi.CollectionKey collectionKey, org.hibernate.collection.spi.PersistentCollection<?> persistentCollection)
      Specified by:
      addCollectionByKey in interface org.hibernate.engine.spi.PersistenceContext
    • removeCollectionByKey

      public void removeCollectionByKey(org.hibernate.engine.spi.CollectionKey collectionKey)
      Specified by:
      removeCollectionByKey in interface org.hibernate.engine.spi.PersistenceContext
    • getEntitySnapshotsByKey

      @Internal public Map<org.hibernate.engine.spi.EntityKey,Object> getEntitySnapshotsByKey()
      Specified by:
      getEntitySnapshotsByKey in interface org.hibernate.engine.spi.PersistenceContext
    • getOrInitializeEntitySnapshotsByKey

      @Internal public Map<org.hibernate.engine.spi.EntityKey,Object> getOrInitializeEntitySnapshotsByKey()
      Specified by:
      getOrInitializeEntitySnapshotsByKey in interface org.hibernate.engine.spi.PersistenceContext
    • managedEntitiesIterator

      public Iterator<Object> managedEntitiesIterator()
      Specified by:
      managedEntitiesIterator in interface org.hibernate.engine.spi.PersistenceContext
    • getNaturalIdResolutions

      public org.hibernate.engine.spi.NaturalIdResolutions getNaturalIdResolutions()
      Specified by:
      getNaturalIdResolutions in interface org.hibernate.engine.spi.PersistenceContext
    • reactivePostLoad

      public CompletionStage<Void> reactivePostLoad(org.hibernate.sql.results.jdbc.spi.JdbcValuesSourceProcessingState processingState, Consumer<org.hibernate.engine.spi.EntityHolder> holderConsumer)
      Reactive version of PersistenceContext.postLoad(JdbcValuesSourceProcessingState, Consumer)