Uses of Class
org.hibernate.engine.spi.CollectionEntry
-
Packages that use CollectionEntry Package Description org.hibernate.engine.internal Support for many of the internal workings of Hibernate.org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.envers.event.spi org.hibernate.envers.internal.synchronization.work -
-
Uses of CollectionEntry in org.hibernate.engine.internal
Methods in org.hibernate.engine.internal that return CollectionEntry Modifier and Type Method Description CollectionEntry
StatefulPersistenceContext. addInitializedCollection(CollectionPersister persister, PersistentCollection<?> collection, Object id)
CollectionEntry
StatefulPersistenceContext. getCollectionEntry(PersistentCollection<?> coll)
CollectionEntry
StatefulPersistenceContext. removeCollectionEntry(PersistentCollection<?> collection)
Methods in org.hibernate.engine.internal that return types with arguments of type CollectionEntry Modifier and Type Method Description 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 CollectionEntry Modifier and Type Method Description void
StatefulPersistenceContext. forEachCollectionEntry(BiConsumer<PersistentCollection<?>,CollectionEntry> action, boolean concurrent)
-
Uses of CollectionEntry in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return CollectionEntry Modifier and Type Method Description CollectionEntry
PersistenceContext. 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.CollectionEntry
PersistenceContext. getCollectionEntry(PersistentCollection<?> coll)
Get the collection entry for a persistent collectionCollectionEntry
PersistenceContext. removeCollectionEntry(PersistentCollection<?> collection)
Remove aPersistentCollection
from thePersistenceContext
.Methods in org.hibernate.engine.spi that return types with arguments of type CollectionEntry Modifier and Type Method Description Map<PersistentCollection<?>,CollectionEntry>
PersistenceContext. getCollectionEntries()
Doubly internalMethods in org.hibernate.engine.spi with parameters of type CollectionEntry Modifier and Type Method Description void
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 CollectionEntry Modifier and Type Method Description void
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 CollectionEntry Modifier and Type Method Description protected CollectionEntry
BaseEnversCollectionEventListener. getCollectionEntry(AbstractCollectionEvent event)
Methods in org.hibernate.envers.event.spi with parameters of type CollectionEntry Modifier and Type Method Description protected void
BaseEnversCollectionEventListener. onCollectionAction(AbstractCollectionEvent event, PersistentCollection newColl, Serializable oldColl, CollectionEntry collectionEntry)
protected 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 CollectionEntry Constructor Description PersistentCollectionChangeWorkUnit(SessionImplementor sessionImplementor, String entityName, EnversService enversService, PersistentCollection collection, CollectionEntry collectionEntry, Serializable snapshot, Object id, String referencingPropertyName)
-