Uses of Interface
org.hibernate.collection.spi.PersistentCollection
-
-
Uses of PersistentCollection in org.hibernate.action.internal
Methods in org.hibernate.action.internal that return PersistentCollection Modifier and Type Method Description protected PersistentCollection<?>CollectionAction. getCollection() -
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, 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.collection.internal
-
Uses of PersistentCollection in org.hibernate.collection.spi
Classes in org.hibernate.collection.spi that implement PersistentCollection Modifier and Type Class Description classAbstractPersistentCollection<E>Base class implementingPersistentCollectionclassPersistentArrayHolder<E>A persistent wrapper for an array.classPersistentBag<E>An unordered, unkeyed collection that can contain the same element multiple times.classPersistentIdentifierBag<E>AnIdentifierBagimplements "bag" semantics more efficiently than a regularBagby adding a synthetic identifier column to the table.classPersistentList<E>A persistent wrapper for ajava.util.List.classPersistentMap<K,E>A persistent wrapper for ajava.util.Map.classPersistentSet<E>A persistent wrapper for ajava.util.Set.classPersistentSortedMap<K,E>A persistent wrapper for ajava.util.SortedMap.classPersistentSortedSet<E>A persistent wrapper for ajava.util.SortedSet.Methods in org.hibernate.collection.spi that return PersistentCollection Modifier and Type Method Description PersistentCollection<E>CollectionSemantics. instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)Create a wrapper for the collectionPersistentCollection<E>CollectionSemantics. wrap(CE rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)Wrap a raw collection in wrapper -
Uses of PersistentCollection in org.hibernate.engine.internal
Methods in org.hibernate.engine.internal that return PersistentCollection Modifier and Type Method Description PersistentCollection<?>StatefulPersistenceContext. addCollectionByKey(CollectionKey collectionKey, PersistentCollection<?> persistentCollection)PersistentCollection<?>StatefulPersistenceContext. getCollection(CollectionKey collectionKey)PersistentCollection<?>StatefulPersistenceContext. getCollectionHolder(Object array)PersistentCollection<?>StatefulPersistenceContext. removeCollectionHolder(Object array)PersistentCollection<?>StatefulPersistenceContext. useUnownedCollection(CollectionKey key)Methods in org.hibernate.engine.internal that return types with arguments of type PersistentCollection 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.Map<CollectionKey,PersistentCollection<?>>StatefulPersistenceContext. getCollectionsByKey()Methods in org.hibernate.engine.internal with parameters of type PersistentCollection Modifier and Type Method Description PersistentCollection<?>StatefulPersistenceContext. addCollectionByKey(CollectionKey collectionKey, PersistentCollection<?> persistentCollection)voidStatefulPersistenceContext. addCollectionHolder(PersistentCollection<?> holder)CollectionEntryStatefulPersistenceContext. addInitializedCollection(CollectionPersister persister, PersistentCollection<?> collection, Object id)voidStatefulPersistenceContext. addInitializedDetachedCollection(CollectionPersister collectionPersister, PersistentCollection<?> collection)voidStatefulPersistenceContext. addNewCollection(CollectionPersister persister, PersistentCollection<?> collection)voidStatefulPersistenceContext. addNonLazyCollection(PersistentCollection<?> collection)voidStatefulPersistenceContext. addUninitializedCollection(CollectionPersister persister, PersistentCollection<?> collection, Object id)voidStatefulPersistenceContext. addUninitializedDetachedCollection(CollectionPersister persister, PersistentCollection<?> collection)booleanStatefulPersistenceContext. containsCollection(PersistentCollection<?> collection)CollectionEntryStatefulPersistenceContext. getCollectionEntry(PersistentCollection<?> coll)ObjectStatefulPersistenceContext. getLoadedCollectionOwnerIdOrNull(PersistentCollection<?> collection)ObjectStatefulPersistenceContext. getLoadedCollectionOwnerOrNull(PersistentCollection<?> collection)SerializableStatefulPersistenceContext. getSnapshot(PersistentCollection<?> coll)voidAbstractEntityEntry. overwriteLoadedStateCollectionValue(String propertyName, PersistentCollection<?> collection)static voidCollections. processReachableCollection(PersistentCollection<?> collection, CollectionType type, Object entity, SessionImplementor session)Initialize the role of the collection.static voidCollections. processUnreachableCollection(PersistentCollection<?> coll, SessionImplementor session)record the fact that this collection was dereferencedCollectionEntryStatefulPersistenceContext. removeCollectionEntry(PersistentCollection<?> collection)Method parameters in org.hibernate.engine.internal with type arguments of type PersistentCollection Modifier and Type Method Description voidStatefulPersistenceContext. forEachCollectionEntry(BiConsumer<PersistentCollection<?>,CollectionEntry> action, boolean concurrent)protected voidStatefulPersistenceContext. initializeNonLazyCollections(Consumer<PersistentCollection<?>> initializeAction) -
Uses of PersistentCollection in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return PersistentCollection Modifier and Type Method Description PersistentCollection<?>PersistenceContext. addCollectionByKey(CollectionKey collectionKey, PersistentCollection<?> persistentCollection)Adds a collection in the collections-by-key map.PersistentCollection<?>PersistenceContext. getCollection(CollectionKey collectionKey)Get the collection instance associated with theCollectionKeyPersistentCollection<?>PersistenceContext. getCollectionHolder(Object array)Get thePersistentCollectionobject for an arrayPersistentCollection<?>PersistenceContext. removeCollectionHolder(Object array)Remove the mapping of collection to holder during eviction of the owning entityPersistentCollection<?>PersistenceContext. useUnownedCollection(CollectionKey key)Take ownership of a previously unowned collection, if one.Methods in org.hibernate.engine.spi that return types with arguments of type PersistentCollection Modifier and Type Method Description Map<PersistentCollection<?>,CollectionEntry>PersistenceContext. getCollectionEntries()Doubly internalMap<CollectionKey,PersistentCollection<?>>PersistenceContext. getCollectionsByKey()Deprecated.this method should be removed; alternative methods are available that better express the intent, allowing for better optimisations.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.PersistentCollection<?>PersistenceContext. addCollectionByKey(CollectionKey collectionKey, PersistentCollection<?> persistentCollection)Adds a collection in the collections-by-key map.voidPersistenceContext. addCollectionHolder(PersistentCollection<?> holder)Register aPersistentCollectionobject for an array.CollectionEntryPersistenceContext. addInitializedCollection(CollectionPersister persister, PersistentCollection<?> collection, Object 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, Object id)add a collection we just loaded up (still needs initializing)voidPersistenceContext. addUninitializedDetachedCollection(CollectionPersister persister, PersistentCollection<?> collection)add a detached uninitialized collectionvoidCollectionEntry. 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 collectionObjectPersistenceContext. getLoadedCollectionOwnerIdOrNull(PersistentCollection<?> collection)Get the ID for the entity that owned this persistent collection when it was loadedObjectPersistenceContext. getLoadedCollectionOwnerOrNull(PersistentCollection<?> collection)Get the entity that owned this persistent collection when it was loadedCollection<?>CollectionEntry. getOrphans(String entityName, PersistentCollection<?> collection)Get the collection orphans (entities which were removed from the collection)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(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, 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(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, Object 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, Serializable oldColl, CollectionEntry collectionEntry)protected voidBaseEnversCollectionEventListener. onCollectionActionInversed(AbstractCollectionEvent event, PersistentCollection newColl, Serializable oldColl, CollectionEntry collectionEntry) -
Uses of PersistentCollection in org.hibernate.envers.internal.entities.mapper
-
Uses of PersistentCollection in org.hibernate.envers.internal.entities.mapper.relation
-
Uses of PersistentCollection in org.hibernate.envers.internal.synchronization.work
Constructors in org.hibernate.envers.internal.synchronization.work with parameters of type PersistentCollection Constructor Description PersistentCollectionChangeWorkUnit(SessionImplementor sessionImplementor, String entityName, EnversService enversService, PersistentCollection collection, CollectionEntry collectionEntry, Serializable snapshot, Object id, String referencingPropertyName) -
Uses of PersistentCollection in org.hibernate.event.internal
Methods in org.hibernate.event.internal with parameters of type PersistentCollection Modifier and Type Method Description protected static booleanProxyVisitor. isOwnerUnchanged(CollectionPersister persister, Object id, PersistentCollection<?> snapshot)Has the owner of the collection changed since the collection was snapshotted and detached?protected voidProxyVisitor. reattachCollection(PersistentCollection<?> collection, CollectionType type)Reattach a detached (disassociated) initialized or uninitialized collection wrapper, using a snapshot carried with the collection wrapper -
Uses of PersistentCollection in org.hibernate.event.spi
Methods in org.hibernate.event.spi that return PersistentCollection Modifier and Type Method Description PersistentCollection<?>AbstractCollectionEvent. 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 ObjectAbstractCollectionEvent. getLoadedOwnerIdOrNull(PersistentCollection<?> collection, EventSource source)protected static ObjectAbstractCollectionEvent. getLoadedOwnerOrNull(PersistentCollection<?> collection, EventSource source) -
Uses of PersistentCollection in org.hibernate.internal
Methods in org.hibernate.internal with parameters of type PersistentCollection Modifier and Type Method Description voidSessionImpl. initializeCollection(PersistentCollection<?> collection, boolean writing)voidStatelessSessionImpl. initializeCollection(PersistentCollection<?> collection, boolean writing) -
Uses of PersistentCollection in org.hibernate.internal.log
Methods in org.hibernate.internal.log with parameters of type PersistentCollection Modifier and Type Method Description static StringLoggingHelper. toLoggableString(PersistentCollection<?> collectionInstance) -
Uses of PersistentCollection in org.hibernate.loader.ast.internal
Methods in org.hibernate.loader.ast.internal that return PersistentCollection Modifier and Type Method Description PersistentCollection<?>CollectionLoaderBatchKey. load(Object key, SharedSessionContractImplementor session)PersistentCollection<?>CollectionLoaderNamedQuery. load(Object key, SharedSessionContractImplementor session)PersistentCollection<?>CollectionLoaderSingleKey. load(Object key, SharedSessionContractImplementor session)PersistentCollection<?>CollectionLoaderSubSelectFetch. load(Object triggerKey, SharedSessionContractImplementor session) -
Uses of PersistentCollection in org.hibernate.loader.ast.spi
Methods in org.hibernate.loader.ast.spi that return PersistentCollection Modifier and Type Method Description PersistentCollection<?>CollectionLoader. load(Object key, SharedSessionContractImplementor session)Load a collection by its key (not necessarily the same as its owner's PK). -
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, Object id, SharedSessionContractImplementor session)voidCollectionPersister. deleteRows(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session)Delete the persistent state of any elements that were removed from the collectionprotected abstract voidAbstractCollectionPersister. doProcessQueuedOps(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session)protected voidBasicCollectionPersister. doProcessQueuedOps(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session)protected voidOneToManyPersister. doProcessQueuedOps(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session)protected abstract intAbstractCollectionPersister. doUpdateRows(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)protected intBasicCollectionPersister. doUpdateRows(Object id, PersistentCollection<?> collection, SharedSessionContractImplementor session)protected intOneToManyPersister. doUpdateRows(Object id, PersistentCollection<?> collection, SharedSessionContractImplementor session)voidAbstractCollectionPersister. insertRows(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session)voidCollectionPersister. insertRows(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session)Insert the persistent state of any new collection elementsvoidOneToManyPersister. insertRows(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session)voidAbstractCollectionPersister. processQueuedOps(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session)voidCollectionPersister. processQueuedOps(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session)Process queued operations within the PersistentCollection.voidAbstractCollectionPersister. recreate(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session)voidCollectionPersister. recreate(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session)(Re)create the collection's persistent statevoidOneToManyPersister. recreate(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session)voidAbstractCollectionPersister. updateRows(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session)voidCollectionPersister. updateRows(PersistentCollection<?> collection, Object 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 StringMessageHelper. collectionInfoString(CollectionPersister persister, PersistentCollection<?> collection, Object collectionKey, SharedSessionContractImplementor session)Generate an info message string relating to a particular managed collection. -
Uses of PersistentCollection in org.hibernate.sql.results.graph.collection
Methods in org.hibernate.sql.results.graph.collection that return PersistentCollection Modifier and Type Method Description PersistentCollection<?>CollectionInitializer. getCollectionInstance()PersistentCollection<?>LoadingCollectionEntry. getCollectionInstance()The collection instance being loaded -
Uses of PersistentCollection in org.hibernate.sql.results.graph.collection.internal
Fields in org.hibernate.sql.results.graph.collection.internal declared as PersistentCollection Modifier and Type Field Description protected PersistentCollection<?>AbstractCollectionInitializer. collectionInstanceMethods in org.hibernate.sql.results.graph.collection.internal that return PersistentCollection Modifier and Type Method Description PersistentCollection<?>AbstractCollectionInitializer. getCollectionInstance() -
Uses of PersistentCollection in org.hibernate.sql.results.internal
Methods in org.hibernate.sql.results.internal that return PersistentCollection Modifier and Type Method Description PersistentCollection<?>LoadingCollectionEntryImpl. getCollectionInstance()Methods in org.hibernate.sql.results.internal with parameters of type PersistentCollection Modifier and Type Method Description static voidResultsHelper. finalizeCollectionLoading(PersistenceContext persistenceContext, CollectionPersister collectionDescriptor, PersistentCollection<?> collectionInstance, Object key, boolean hasNoQueuedAdds)Constructors in org.hibernate.sql.results.internal with parameters of type PersistentCollection Constructor Description LoadingCollectionEntryImpl(CollectionPersister collectionDescriptor, CollectionInitializer initializer, Object key, PersistentCollection<?> collectionInstance) -
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 PersistentCollection<?>UserCollectionType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister)Instantiate an uninitialized instance of the collection wrapperPersistentCollection<?>UserCollectionType. wrap(SharedSessionContractImplementor session, Object collection)Wrap an instance of a collection
-