Uses of Interface
org.hibernate.collection.spi.PersistentCollection
-
-
Uses of PersistentCollection in org.hibernate.cache.spi.entry
Methods in org.hibernate.cache.spi.entry with parameters of type PersistentCollection Modifier and Type Method Description voidCollectionCacheEntry. assemble(PersistentCollection collection, CollectionPersister persister, java.lang.Object owner)Assembles the collection from the cached state.Constructors in org.hibernate.cache.spi.entry with parameters of type PersistentCollection Constructor Description CollectionCacheEntry(PersistentCollection collection, CollectionPersister persister)Constructs a CollectionCacheEntry -
Uses of PersistentCollection in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return PersistentCollection Modifier and Type Method Description PersistentCollectionPersistenceContext. addCollectionByKey(CollectionKey collectionKey, PersistentCollection persistentCollection)Adds a collection in the collections-by-key map.PersistentCollectionPersistenceContext. getCollection(CollectionKey collectionKey)Get the collection instance associated with the CollectionKeyPersistentCollectionPersistenceContext. getCollectionHolder(java.lang.Object array)Get the PersistentCollection object for an arrayPersistentCollectionPersistenceContext. removeCollectionHolder(java.lang.Object array)Remove the mapping of collection to holder during eviction of the owning entityPersistentCollectionPersistenceContext. useUnownedCollection(CollectionKey key)Take ownership of a previously unowned collection, if one.Methods in org.hibernate.engine.spi with parameters of type PersistentCollection Modifier and Type Method Description voidBatchFetchQueue. addBatchLoadableCollection(PersistentCollection collection, CollectionEntry ce)If a CollectionEntry represents a batch loadable collection, add it to the queue.PersistentCollectionPersistenceContext. addCollectionByKey(CollectionKey collectionKey, PersistentCollection persistentCollection)Adds a collection in the collections-by-key map.voidPersistenceContext. addCollectionHolder(PersistentCollection holder)Register a PersistentCollection object for an array.CollectionEntryPersistenceContext. addInitializedCollection(CollectionPersister persister, PersistentCollection collection, java.io.Serializable id)add a collection we just pulled out of the cache (does not need initializing)voidPersistenceContext. addInitializedDetachedCollection(CollectionPersister collectionPersister, PersistentCollection collection)add an (initialized) collection that was created by another session and passed into update() (ie.voidPersistenceContext. addNewCollection(CollectionPersister persister, PersistentCollection collection)Add a new collection (ie.voidPersistenceContext. addNonLazyCollection(PersistentCollection collection)Register a collection for non-lazy loading at the end of the two-phase loadvoidPersistenceContext. addUninitializedCollection(CollectionPersister persister, PersistentCollection collection, java.io.Serializable id)add a collection we just loaded up (still needs initializing)voidPersistenceContext. addUninitializedDetachedCollection(CollectionPersister persister, PersistentCollection collection)add a detached uninitialized collectionvoidPersistenceContext. addUnownedCollection(CollectionKey key, PersistentCollection collection)Add a collection which has no owner loadedvoidCollectionEntry. afterAction(PersistentCollection collection)Called after execution of an actionbooleanPersistenceContext. containsCollection(PersistentCollection collection)Is the given collection associated with this persistence context?CollectionEntryPersistenceContext. getCollectionEntry(PersistentCollection coll)Get the collection entry for a persistent collectionjava.io.SerializablePersistenceContext. getLoadedCollectionOwnerIdOrNull(PersistentCollection collection)Get the ID for the entity that owned this persistent collection when it was loadedjava.lang.ObjectPersistenceContext. getLoadedCollectionOwnerOrNull(PersistentCollection collection)Get the entity that owned this persistent collection when it was loadedjava.util.CollectionCollectionEntry. getOrphans(java.lang.String entityName, PersistentCollection collection)Get the collection orphans (entities which were removed from the collection)java.io.SerializablePersistenceContext. getSnapshot(PersistentCollection coll)Get the snapshot of the pre-flush collection statevoidSessionDelegatorBaseImpl. initializeCollection(PersistentCollection collection, boolean writing)voidSharedSessionContractImplementor. initializeCollection(PersistentCollection collection, boolean writing)Initialize the collection (if not already initialized)booleanCollectionEntry. isSnapshotEmpty(PersistentCollection collection)voidEntityEntry. overwriteLoadedStateCollectionValue(java.lang.String propertyName, PersistentCollection collection)voidCollectionEntry. postFlush(PersistentCollection collection)Called after a successful flushvoidCollectionEntry. postInitialize(PersistentCollection collection)voidCollectionEntry. preFlush(PersistentCollection collection)CollectionEntryPersistenceContext. removeCollectionEntry(PersistentCollection collection)Remove aPersistentCollectionfrom thePersistenceContext.voidCollectionEntry. resetStoredSnapshot(PersistentCollection collection, java.io.Serializable storedSnapshot)Reset the stored snapshot for both the persistent collection and this collection entry.Method parameters in org.hibernate.engine.spi with type arguments of type PersistentCollection Modifier and Type Method Description voidPersistenceContext. forEachCollectionEntry(java.util.function.BiConsumer<PersistentCollection,CollectionEntry> action, boolean concurrent)Execute some action on each entry of the collectionEntries map, optionally iterating on a defensive copy.Constructors in org.hibernate.engine.spi with parameters of type PersistentCollection Constructor Description CollectionEntry(PersistentCollection collection, SessionFactoryImplementor factory)For initialized detached collectionsCollectionEntry(PersistentCollection collection, CollectionPersister loadedPersister, java.io.Serializable loadedKey, boolean ignore)For collections just loaded from the databaseCollectionEntry(CollectionPersister persister, PersistentCollection collection)For newly wrapped collections, or dereferenced collection wrappers -
Uses of PersistentCollection in org.hibernate.envers.event.spi
Methods in org.hibernate.envers.event.spi with parameters of type PersistentCollection Modifier and Type Method Description protected voidBaseEnversCollectionEventListener. onCollectionAction(AbstractCollectionEvent event, PersistentCollection newColl, java.io.Serializable oldColl, CollectionEntry collectionEntry)protected voidBaseEnversCollectionEventListener. onCollectionActionInversed(AbstractCollectionEvent event, PersistentCollection newColl, java.io.Serializable oldColl, CollectionEntry collectionEntry) -
Uses of PersistentCollection in org.hibernate.event.spi
Methods in org.hibernate.event.spi that return PersistentCollection Modifier and Type Method Description PersistentCollectionAbstractCollectionEvent. getCollection()Methods in org.hibernate.event.spi with parameters of type PersistentCollection Modifier and Type Method Description protected static CollectionPersisterAbstractCollectionEvent. getLoadedCollectionPersister(PersistentCollection collection, EventSource source)protected static java.io.SerializableAbstractCollectionEvent. getLoadedOwnerIdOrNull(PersistentCollection collection, EventSource source)protected static java.lang.ObjectAbstractCollectionEvent. getLoadedOwnerOrNull(PersistentCollection collection, EventSource source) -
Uses of PersistentCollection in org.hibernate.persister.collection
Methods in org.hibernate.persister.collection with parameters of type PersistentCollection Modifier and Type Method Description voidAbstractCollectionPersister. deleteRows(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)voidCollectionPersister. deleteRows(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)Delete the persistent state of any elements that were removed from the collectionprotected voidAbstractCollectionPersister. doProcessQueuedOps(PersistentCollection collection, java.io.Serializable key, int nextIndex, SharedSessionContractImplementor session)protected abstract voidAbstractCollectionPersister. doProcessQueuedOps(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)protected voidBasicCollectionPersister. doProcessQueuedOps(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)protected voidOneToManyPersister. doProcessQueuedOps(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)protected abstract intAbstractCollectionPersister. doUpdateRows(java.io.Serializable key, PersistentCollection collection, SharedSessionContractImplementor session)protected intBasicCollectionPersister. doUpdateRows(java.io.Serializable id, PersistentCollection collection, SharedSessionContractImplementor session)protected intOneToManyPersister. doUpdateRows(java.io.Serializable id, PersistentCollection collection, SharedSessionContractImplementor session)voidAbstractCollectionPersister. insertRows(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)voidCollectionPersister. insertRows(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)Insert the persistent state of any new collection elementsvoidOneToManyPersister. insertRows(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)voidAbstractCollectionPersister. processQueuedOps(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)voidCollectionPersister. processQueuedOps(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)Process queued operations within the PersistentCollection.voidAbstractCollectionPersister. recreate(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)voidCollectionPersister. recreate(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)(Re)create the collection's persistent statevoidOneToManyPersister. recreate(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)voidAbstractCollectionPersister. updateRows(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)voidCollectionPersister. updateRows(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)Update the persistent state of any elements that were modified -
Uses of PersistentCollection in org.hibernate.pretty
Methods in org.hibernate.pretty with parameters of type PersistentCollection Modifier and Type Method Description static java.lang.StringMessageHelper. collectionInfoString(CollectionPersister persister, PersistentCollection collection, java.io.Serializable collectionKey, SharedSessionContractImplementor session)Generate an info message string relating to a particular managed collection. -
Uses of PersistentCollection in org.hibernate.type
-
Uses of PersistentCollection in org.hibernate.usertype
Methods in org.hibernate.usertype that return PersistentCollection Modifier and Type Method Description PersistentCollectionUserCollectionType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister)Instantiate an uninitialized instance of the collection wrapperPersistentCollectionUserCollectionType. wrap(SharedSessionContractImplementor session, java.lang.Object collection)Wrap an instance of a collection
-