Uses of Class
org.hibernate.engine.spi.CollectionEntry
Packages that use CollectionEntry
Package
Description
Support for many of the internal workings of Hibernate.
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
-
Uses of CollectionEntry in org.hibernate.engine.internal
Methods in org.hibernate.engine.internal that return CollectionEntryModifier and TypeMethodDescriptionStatefulPersistenceContext.addInitializedCollection
(CollectionPersister persister, PersistentCollection<?> collection, Object id) StatefulPersistenceContext.getCollectionEntry
(PersistentCollection<?> coll) StatefulPersistenceContext.removeCollectionEntry
(PersistentCollection<?> collection) Methods in org.hibernate.engine.internal that return types with arguments of type CollectionEntryModifier and TypeMethodDescription@Nullable Map<PersistentCollection<?>,
CollectionEntry> StatefulPersistenceContext.getCollectionEntries()
Deprecated.We should not expose this directly: the other accessors that have been created as a replacement have better chances of skipping initializing this map, which is a good performance improvement.Method parameters in org.hibernate.engine.internal with type arguments of type CollectionEntryModifier and TypeMethodDescriptionvoid
StatefulPersistenceContext.forEachCollectionEntry
(BiConsumer<PersistentCollection<?>, CollectionEntry> action, boolean concurrent) -
Uses of CollectionEntry in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return CollectionEntryModifier and TypeMethodDescriptionPersistenceContext.addInitializedCollection
(CollectionPersister persister, PersistentCollection<?> collection, Object id) add a collection we just pulled out of the cache (does not need initializing)static CollectionEntry
CollectionEntry.deserialize
(ObjectInputStream ois, SessionImplementor session) Custom deserialization routine used during deserialization of a Session/PersistenceContext for increased performance.PersistenceContext.getCollectionEntry
(PersistentCollection<?> coll) Get the collection entry for a persistent collectionPersistenceContext.removeCollectionEntry
(PersistentCollection<?> collection) Remove aPersistentCollection
from thePersistenceContext
.Methods in org.hibernate.engine.spi that return types with arguments of type CollectionEntryModifier and TypeMethodDescription@Nullable Map<PersistentCollection<?>,
CollectionEntry> PersistenceContext.getCollectionEntries()
Doubly internalMethods in org.hibernate.engine.spi with parameters of type CollectionEntryModifier and TypeMethodDescriptionvoid
BatchFetchQueue.addBatchLoadableCollection
(PersistentCollection<?> collection, CollectionEntry ce) If a CollectionEntry represents a batch loadable collection, add it to the queue.void
BatchFetchQueue.removeBatchLoadableCollection
(CollectionEntry ce) After a collection was initialized or evicted, we don't need to batch fetch it anymore, remove it from the queue if necessaryMethod parameters in org.hibernate.engine.spi with type arguments of type CollectionEntryModifier and TypeMethodDescriptionvoid
PersistenceContext.forEachCollectionEntry
(BiConsumer<PersistentCollection<?>, CollectionEntry> action, boolean concurrent) Execute some action on each entry of the collectionEntries map, optionally iterating on a defensive copy. -
Uses of CollectionEntry in org.hibernate.envers.event.spi
Methods in org.hibernate.envers.event.spi that return CollectionEntryModifier and TypeMethodDescriptionprotected final CollectionEntry
BaseEnversCollectionEventListener.getCollectionEntry
(AbstractCollectionEvent event) Methods in org.hibernate.envers.event.spi with parameters of type CollectionEntryModifier and TypeMethodDescriptionprotected final void
BaseEnversCollectionEventListener.onCollectionAction
(AbstractCollectionEvent event, PersistentCollection newColl, Serializable oldColl, CollectionEntry collectionEntry) protected final void
BaseEnversCollectionEventListener.onCollectionActionInversed
(AbstractCollectionEvent event, PersistentCollection newColl, Serializable oldColl, CollectionEntry collectionEntry) -
Uses of CollectionEntry in org.hibernate.envers.internal.synchronization.work
Constructors in org.hibernate.envers.internal.synchronization.work with parameters of type CollectionEntryModifierConstructorDescriptionPersistentCollectionChangeWorkUnit
(SessionImplementor sessionImplementor, String entityName, EnversService enversService, PersistentCollection collection, CollectionEntry collectionEntry, Serializable snapshot, Object id, String referencingPropertyName)