Uses of Interface
org.hibernate.collection.spi.PersistentCollection
Packages that use PersistentCollection
Package
Description
The various concrete action implementations.
This package defines formats for disassembled state kept in the second level cache.
Internal implementations and support for persistent collections.
This package defines the SPI of a framework for lazy-initializing
and state-tracking collection wrappers.
Support for many of the internal workings of Hibernate.
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
This package defines a default set of event listeners that implement
the default behaviors of Hibernate session operations.
Defines the event types and event listener interfaces for
events produced by the stateful
Session.An internal package containing implementations of central Hibernate APIs,
mostly defined in
org.hibernate.This package abstracts persistence mechanisms for collections.
Defines support for performing mutation operations against collections.
Contains some functions for pretty-printing things for exception and log messages.
A Hibernate
Type is a strategy for mapping a Java
property type to a JDBC type or types.An API for user-defined custom types which extend the set of built-in
types defined in
org.hibernate.type.-
Uses of PersistentCollection in org.hibernate.action.internal
Methods in org.hibernate.action.internal that return PersistentCollectionModifier and TypeMethodDescriptionprotected PersistentCollection<?> CollectionAction.getCollection()Constructors in org.hibernate.action.internal with parameters of type PersistentCollectionModifierConstructorDescriptionprotectedCollectionAction(CollectionPersister persister, PersistentCollection<?> collection, Object key, EventSource session) CollectionRecreateAction(PersistentCollection<?> collection, CollectionPersister persister, Object id, EventSource session) Constructs a CollectionRecreateActionCollectionRemoveAction(PersistentCollection<?> collection, CollectionPersister persister, Object id, boolean emptySnapshot, EventSource session) Removes a persistent collection from its loaded owner.CollectionUpdateAction(PersistentCollection<?> collection, CollectionPersister persister, Object id, boolean emptySnapshot, EventSource session) Constructs a CollectionUpdateActionQueuedOperationCollectionAction(PersistentCollection<?> collection, CollectionPersister persister, Object id, EventSource session) Constructs a CollectionUpdateAction -
Uses of PersistentCollection in org.hibernate.cache.spi.entry
Methods in org.hibernate.cache.spi.entry with parameters of type PersistentCollectionModifier and TypeMethodDescriptionvoidCollectionCacheEntry.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 PersistentCollectionModifierConstructorDescriptionCollectionCacheEntry(PersistentCollection<?> collection, CollectionPersister persister) Constructs a CollectionCacheEntry -
Uses of PersistentCollection in org.hibernate.collection.internal
Methods in org.hibernate.collection.internal that return PersistentCollectionModifier and TypeMethodDescriptionCustomCollectionTypeSemantics.instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) StandardArraySemantics.instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) StandardBagSemantics.instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) StandardIdentifierBagSemantics.instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) StandardListSemantics.instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) StandardMapSemantics.instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) StandardOrderedMapSemantics.instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) StandardOrderedSetSemantics.instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) StandardSortedMapSemantics.instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) StandardSortedSetSemantics.instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) CustomCollectionTypeSemantics.wrap(CE rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) StandardArraySemantics.wrap(E[] rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) StandardBagSemantics.wrap(Collection<E> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) StandardIdentifierBagSemantics.wrap(Collection<E> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) StandardListSemantics.wrap(List<E> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) StandardMapSemantics.wrap(Map<K, V> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) StandardOrderedMapSemantics.wrap(LinkedHashMap<K, V> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) StandardOrderedSetSemantics.wrap(LinkedHashSet<E> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) StandardSortedMapSemantics.wrap(SortedMap<K, V> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) StandardSortedSetSemantics.wrap(SortedSet<E> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) -
Uses of PersistentCollection in org.hibernate.collection.spi
Classes in org.hibernate.collection.spi that implement PersistentCollectionModifier and TypeClassDescriptionclassBase class implementingPersistentCollectionclassA dummy collection wrapper for an array.classAn unordered, un-keyed collection that can contain the same element multiple times.classAn "identifier bag" implements "bag" semantics more efficiently than a regular bag by adding a synthetic identifier column to the table.classA persistent wrapper for aList.classPersistentMap<K,E> A persistent wrapper for aMap.classA persistent wrapper for aSet.classPersistentSortedMap<K,E> A persistent wrapper for aSortedMap.classA persistent wrapper for aSortedSet.Methods in org.hibernate.collection.spi that return PersistentCollectionModifier and TypeMethodDescriptionCollectionSemantics.instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) Create a wrapper for the collectionCollectionSemantics.wrap(CE rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) Wrap a raw collection in wrapperMethods in org.hibernate.collection.spi with parameters of type PersistentCollectionModifier and TypeMethodDescriptionstatic voidAbstractPersistentCollection.checkPersister(PersistentCollection collection, CollectionPersister persister) default booleanPersistentCollection.includeInInsert(Object entry, int entryPosition, PersistentCollection<?> collection, PluralAttributeMapping attributeDescriptor) Whether to include the entry for insertion operationsdefault booleanPersistentCollection.includeInRecreate(Object entry, int i, PersistentCollection<?> collection, PluralAttributeMapping attributeDescriptor) Whether the given entry should be included in recreation events -
Uses of PersistentCollection in org.hibernate.engine.internal
Methods in org.hibernate.engine.internal with parameters of type PersistentCollectionModifier and TypeMethodDescriptionvoidEntityEntryImpl.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 dereferenced -
Uses of PersistentCollection in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return PersistentCollectionModifier and TypeMethodDescriptionPersistenceContext.addCollectionByKey(CollectionKey collectionKey, PersistentCollection<?> persistentCollection) Adds a collection in the collections-by-key map.PersistenceContext.getCollection(CollectionKey collectionKey) Get the collection instance associated with theCollectionKeyPersistenceContext.getCollectionHolder(Object array) Get thePersistentCollectionobject for an arrayPersistenceContext.removeCollectionHolder(Object array) Remove the mapping of collection to holder during eviction of the owning entityPersistenceContext.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 PersistentCollectionModifier and TypeMethodDescription@Nullable Map<PersistentCollection<?>, CollectionEntry> PersistenceContext.getCollectionEntries()Doubly internalPersistenceContext.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 PersistentCollectionModifier and TypeMethodDescriptionvoidBatchFetchQueue.addBatchLoadableCollection(PersistentCollection<?> collection, CollectionEntry ce) If a CollectionEntry represents a batch loadable collection, add it to the queue.PersistenceContext.addCollectionByKey(CollectionKey collectionKey, PersistentCollection<?> persistentCollection) Adds a collection in the collections-by-key map.voidPersistenceContext.addCollectionHolder(PersistentCollection<?> holder) Register aPersistentCollectionobject for an array.PersistenceContext.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?PersistenceContext.getCollectionEntry(PersistentCollection<?> coll) Get the collection entry for a persistent collectionPersistenceContext.getLoadedCollectionOwnerIdOrNull(PersistentCollection<?> collection) Get the ID for the entity that owned this persistent collection when it was loadedPersistenceContext.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)PersistenceContext.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 given collection (if not already initialized).voidSharedSessionDelegatorBaseImpl.initializeCollection(PersistentCollection<?> collection, boolean writing) booleanCollectionEntry.isSnapshotEmpty(PersistentCollection<?> collection) voidEntityEntry.overwriteLoadedStateCollectionValue(String propertyName, PersistentCollection<?> collection) voidCollectionEntry.postFlush(PersistentCollection<?> collection) Called after a successful flushvoidCollectionEntry.postInitialize(PersistentCollection<?> collection, SharedSessionContractImplementor session) voidCollectionEntry.preFlush(PersistentCollection<?> collection) PersistenceContext.removeCollectionEntry(PersistentCollection<?> collection) Remove aPersistentCollectionfrom thePersistenceContext.voidPersistenceContext.replaceCollection(CollectionPersister persister, PersistentCollection<?> oldCollection, PersistentCollection<?> collection) Replaces a directly accessible collection with the given onevoidCollectionEntry.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 PersistentCollectionModifier and TypeMethodDescriptionvoidPersistenceContext.forEachCollectionEntry(BiConsumer<PersistentCollection<?>, CollectionEntry> action, boolean concurrent) Execute some action on each entry of the collectionEntries map, optionally iterating on a defensive copy.voidPersistenceContext.initializeNonLazyCollections(Consumer<PersistentCollection<?>> initializeAction) Force initialization of all non-lazy collections encountered during the current two-phase load (actually, this is a no-op, unless this is the "outermost" load) allowing to customize how the initialization should occurConstructors in org.hibernate.engine.spi with parameters of type PersistentCollectionModifierConstructorDescriptionCollectionEntry(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 PersistentCollectionModifier and TypeMethodDescriptionprotected final voidBaseEnversCollectionEventListener.onCollectionAction(AbstractCollectionEvent event, PersistentCollection newColl, Serializable oldColl, CollectionEntry collectionEntry) protected final voidBaseEnversCollectionEventListener.onCollectionActionInversed(AbstractCollectionEvent event, PersistentCollection newColl, Serializable oldColl, CollectionEntry collectionEntry) -
Uses of PersistentCollection in org.hibernate.envers.internal.entities.mapper
Methods in org.hibernate.envers.internal.entities.mapper with parameters of type PersistentCollectionModifier and TypeMethodDescriptionComponentPropertyMapper.mapCollectionChanges(SessionImplementor session, String referencingPropertyName, PersistentCollection newColl, Serializable oldColl, Object id) MultiPropertyMapper.mapCollectionChanges(SessionImplementor session, String referencingPropertyName, PersistentCollection newColl, Serializable oldColl, Object id) PropertyMapper.mapCollectionChanges(SessionImplementor session, String referencingPropertyName, PersistentCollection newColl, Serializable oldColl, Object id) Maps collection changes.SinglePropertyMapper.mapCollectionChanges(SessionImplementor sessionImplementor, String referencingPropertyName, PersistentCollection newColl, Serializable oldColl, Object id) SubclassPropertyMapper.mapCollectionChanges(SessionImplementor session, String referencingPropertyName, PersistentCollection newColl, Serializable oldColl, Object id) -
Uses of PersistentCollection in org.hibernate.envers.internal.entities.mapper.relation
Methods in org.hibernate.envers.internal.entities.mapper.relation with parameters of type PersistentCollectionModifier and TypeMethodDescriptionprotected abstract CollectionAbstractCollectionMapper.getNewCollectionContent(PersistentCollection newCollection) protected CollectionBasicCollectionMapper.getNewCollectionContent(PersistentCollection newCollection) protected CollectionListCollectionMapper.getNewCollectionContent(PersistentCollection newCollection) protected CollectionMapCollectionMapper.getNewCollectionContent(PersistentCollection newCollection) AbstractCollectionMapper.mapCollectionChanges(SessionImplementor session, String referencingPropertyName, PersistentCollection newColl, Serializable oldColl, Object id) protected abstract List<PersistentCollectionChangeData> AbstractCollectionMapper.mapCollectionChanges(SessionImplementor session, PersistentCollection newColl, Serializable oldColl, Object id) Map collection changes using hash identity.AbstractToOneMapper.mapCollectionChanges(SessionImplementor session, String referencingPropertyName, PersistentCollection newColl, Serializable oldColl, Object id) protected List<PersistentCollectionChangeData> BasicCollectionMapper.mapCollectionChanges(SessionImplementor session, PersistentCollection newColl, Serializable oldColl, Object id) protected List<PersistentCollectionChangeData> ListCollectionMapper.mapCollectionChanges(SessionImplementor session, PersistentCollection newColl, Serializable oldColl, Object id) MapCollectionMapper.mapCollectionChanges(SessionImplementor session, PersistentCollection newColl, Serializable oldColl, Object id) protected CollectionPersisterAbstractCollectionMapper.resolveCollectionPersister(SessionImplementor session, PersistentCollection collection) -
Uses of PersistentCollection in org.hibernate.envers.internal.synchronization.work
Constructors in org.hibernate.envers.internal.synchronization.work with parameters of type PersistentCollectionModifierConstructorDescriptionPersistentCollectionChangeWorkUnit(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 PersistentCollectionModifier and TypeMethodDescriptionstatic voidDefaultInitializeCollectionEventListener.handlePotentiallyEmptyCollection(PersistentCollection<?> collection, PersistenceContext persistenceContext, Object loadedKey, CollectionPersister loadedPersister) 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 PersistentCollectionMethods in org.hibernate.event.spi with parameters of type PersistentCollectionModifier and TypeMethodDescriptionprotected static CollectionPersisterAbstractCollectionEvent.getLoadedCollectionPersister(PersistentCollection<?> collection, EventSource source) protected static ObjectAbstractCollectionEvent.getLoadedOwnerIdOrNull(PersistentCollection<?> collection, EventSource source) protected static ObjectAbstractCollectionEvent.getLoadedOwnerOrNull(PersistentCollection<?> collection, EventSource source) Constructors in org.hibernate.event.spi with parameters of type PersistentCollectionModifierConstructorDescriptionAbstractCollectionEvent(PersistentCollection<?> collection, String entityName, Object affectedOwner, Object affectedOwnerId) Constructs an instance for a stateless session.AbstractCollectionEvent(CollectionPersister collectionPersister, PersistentCollection<?> collection, EventSource source, Object affectedOwner, Object affectedOwnerId) Constructs an instance for a stateful session.InitializeCollectionEvent(PersistentCollection<?> collection, EventSource source) PostCollectionRecreateEvent(PersistentCollection<?> collection, Object id, String entityName, Object loadedOwner) PostCollectionRecreateEvent(CollectionPersister collectionPersister, PersistentCollection<?> collection, EventSource source) PostCollectionRemoveEvent(PersistentCollection<?> collection, Object id, String entityName, Object loadedOwner) PostCollectionRemoveEvent(CollectionPersister collectionPersister, PersistentCollection<?> collection, EventSource source, Object loadedOwner) PostCollectionUpdateEvent(PersistentCollection<?> collection, Object id, String entityName, Object loadedOwner) PostCollectionUpdateEvent(CollectionPersister collectionPersister, PersistentCollection<?> collection, EventSource source) PreCollectionRecreateEvent(PersistentCollection<?> collection, Object id, String entityName, Object loadedOwner) PreCollectionRecreateEvent(CollectionPersister collectionPersister, PersistentCollection<?> collection, EventSource source) PreCollectionRemoveEvent(PersistentCollection<?> collection, Object id, String entityName, Object loadedOwner) PreCollectionRemoveEvent(CollectionPersister collectionPersister, PersistentCollection<?> collection, EventSource source, Object loadedOwner) PreCollectionUpdateEvent(PersistentCollection<?> collection, Object id, String entityName, Object loadedOwner) PreCollectionUpdateEvent(CollectionPersister collectionPersister, PersistentCollection<?> collection, EventSource source) -
Uses of PersistentCollection in org.hibernate.internal
Methods in org.hibernate.internal that return PersistentCollectionModifier and TypeMethodDescriptionprotected PersistentCollection<?> StatelessSessionImpl.instantiateEmpty(Object key, CollectionPersister descriptor) protected PersistentCollection<?> StatelessSessionImpl.wrap(CollectionPersister descriptor, Object collection, Object owner) Methods in org.hibernate.internal with parameters of type PersistentCollectionModifier and TypeMethodDescriptionprotected voidStatelessSessionImpl.firePostRecreate(PersistentCollection<?> collection, Object id, String entityName, Object owner) protected voidStatelessSessionImpl.firePostRemove(PersistentCollection<?> collection, Object id, String entityName, Object owner) protected voidStatelessSessionImpl.firePostUpdate(PersistentCollection<?> collection, Object id, String entityName, Object owner) protected voidStatelessSessionImpl.firePreRecreate(PersistentCollection<?> collection, Object id, String entityName, Object owner) protected voidStatelessSessionImpl.firePreRemove(PersistentCollection<?> collection, Object id, String entityName, Object owner) protected voidStatelessSessionImpl.firePreUpdate(PersistentCollection<?> collection, Object id, String entityName, Object owner) voidSessionImpl.initializeCollection(PersistentCollection<?> collection, boolean writing) voidStatelessSessionImpl.initializeCollection(PersistentCollection<?> collection, boolean writing) Method parameters in org.hibernate.internal with type arguments of type PersistentCollectionModifier and TypeMethodDescriptionprotected voidStatelessSessionImpl.forEachOwnedCollection(Object entity, Object key, EntityPersister persister, BiConsumer<CollectionPersister, PersistentCollection<?>> action) -
Uses of PersistentCollection in org.hibernate.internal.log
Methods in org.hibernate.internal.log with parameters of type PersistentCollectionModifier and TypeMethodDescriptionstatic StringLoggingHelper.toLoggableString(PersistentCollection<?> collectionInstance) -
Uses of PersistentCollection in org.hibernate.loader.ast.internal
Methods in org.hibernate.loader.ast.internal that return PersistentCollectionModifier and TypeMethodDescriptionAbstractCollectionBatchLoader.load(Object key, SharedSessionContractImplementor session) CollectionBatchLoaderArrayParam.load(Object keyBeingLoaded, SharedSessionContractImplementor session) CollectionLoaderNamedQuery.load(Object key, SharedSessionContractImplementor session) CollectionLoaderSingleKey.load(Object key, SharedSessionContractImplementor session) CollectionLoaderSubSelectFetch.load(Object triggerKey, SharedSessionContractImplementor session) -
Uses of PersistentCollection in org.hibernate.loader.ast.spi
Methods in org.hibernate.loader.ast.spi that return PersistentCollectionModifier and TypeMethodDescriptionCollectionLoader.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.loader.internal
Methods in org.hibernate.loader.internal with parameters of type PersistentCollectionModifier and TypeMethodDescriptionstatic booleanCacheLoadHelper.initializeCollectionFromCache(Object key, CollectionPersister persister, PersistentCollection<?> collection, SharedSessionContractImplementor source) Try to initialize a collection from the cache -
Uses of PersistentCollection in org.hibernate.persister.collection
Methods in org.hibernate.persister.collection with parameters of type PersistentCollectionModifier and TypeMethodDescriptionvoidBasicCollectionPersister.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 collectionvoidOneToManyPersister.deleteRows(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session) protected 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) voidBasicCollectionPersister.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.voidBasicCollectionPersister.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) voidBasicCollectionPersister.updateRows(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session) voidCollectionPersister.updateRows(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session) Update the persistent state of any elements that were modifiedvoidOneToManyPersister.updateRows(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session) -
Uses of PersistentCollection in org.hibernate.persister.collection.mutation
Methods in org.hibernate.persister.collection.mutation with parameters of type PersistentCollectionModifier and TypeMethodDescriptionvoidRowMutationOperations.Restrictions.applyRestrictions(PersistentCollection<?> collection, Object key, Object rowValue, int rowPosition, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings) voidRowMutationOperations.Values.applyValues(PersistentCollection<?> collection, Object key, Object rowValue, int rowPosition, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings) voidDeleteRowsCoordinator.deleteRows(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session) Perform the deletionsvoidDeleteRowsCoordinatorNoOp.deleteRows(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session) voidDeleteRowsCoordinatorStandard.deleteRows(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session) voidDeleteRowsCoordinatorTablePerSubclass.deleteRows(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session) protected abstract intAbstractUpdateRowsCoordinator.doUpdate(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session) protected intUpdateRowsCoordinatorOneToMany.doUpdate(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session) protected intUpdateRowsCoordinatorStandard.doUpdate(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session) protected intUpdateRowsCoordinatorTablePerSubclass.doUpdate(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session) default booleanInsertRowsCoordinator.EntryFilter.exclude(Object entry, int i, PersistentCollection<?> collection, PluralAttributeMapping attributeDescriptor) booleanInsertRowsCoordinator.EntryFilter.include(Object entry, int position, PersistentCollection<?> collection, PluralAttributeMapping attributeDescriptor) Whether the entry should be includedvoidInsertRowsCoordinator.insertRows(PersistentCollection<?> collection, Object id, InsertRowsCoordinator.EntryFilter entryChecker, SharedSessionContractImplementor session) Perform the creation.voidInsertRowsCoordinatorNoOp.insertRows(PersistentCollection<?> collection, Object id, InsertRowsCoordinator.EntryFilter entryChecker, SharedSessionContractImplementor session) voidInsertRowsCoordinatorStandard.insertRows(PersistentCollection<?> collection, Object id, InsertRowsCoordinator.EntryFilter entryChecker, SharedSessionContractImplementor session) voidInsertRowsCoordinatorTablePerSubclass.insertRows(PersistentCollection<?> collection, Object id, InsertRowsCoordinator.EntryFilter entryChecker, SharedSessionContractImplementor session) voidAbstractUpdateRowsCoordinator.updateRows(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session) voidUpdateRowsCoordinator.updateRows(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session) voidUpdateRowsCoordinatorNoOp.updateRows(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session) -
Uses of PersistentCollection in org.hibernate.pretty
Methods in org.hibernate.pretty with parameters of type PersistentCollectionModifier and TypeMethodDescriptionstatic StringMessageHelper.collectionInfoString(@Nullable CollectionPersister persister, @Nullable 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 PersistentCollectionModifier and TypeMethodDescription@Nullable PersistentCollection<?> CollectionInitializer.getCollectionInstance(Data data) default @Nullable PersistentCollection<?> CollectionInitializer.getCollectionInstance(RowProcessingState rowProcessingState) LoadingCollectionEntry.getCollectionInstance()The collection instance being loaded -
Uses of PersistentCollection in org.hibernate.sql.results.graph.collection.internal
Methods in org.hibernate.sql.results.graph.collection.internal that return PersistentCollectionModifier and TypeMethodDescription@Nullable PersistentCollection<?> AbstractCollectionInitializer.CollectionInitializerData.getCollectionInstance()@Nullable PersistentCollection<?> AbstractCollectionInitializer.getCollectionInstance(Data data) Methods in org.hibernate.sql.results.graph.collection.internal with parameters of type PersistentCollectionModifier and TypeMethodDescriptionvoidAbstractCollectionInitializer.CollectionInitializerData.setCollectionInstance(@Nullable PersistentCollection<?> collectionInstance) -
Uses of PersistentCollection in org.hibernate.sql.results.internal
Methods in org.hibernate.sql.results.internal that return PersistentCollectionMethods in org.hibernate.sql.results.internal with parameters of type PersistentCollectionModifier and TypeMethodDescriptionstatic voidResultsHelper.finalizeCollectionLoading(PersistenceContext persistenceContext, CollectionPersister collectionDescriptor, PersistentCollection<?> collectionInstance, Object key, boolean hasNoQueuedAdds) Constructors in org.hibernate.sql.results.internal with parameters of type PersistentCollectionModifierConstructorDescriptionLoadingCollectionEntryImpl(CollectionPersister collectionDescriptor, CollectionInitializer<?> initializer, Object key, PersistentCollection<?> collectionInstance) -
Uses of PersistentCollection in org.hibernate.type
Methods in org.hibernate.type that return PersistentCollectionModifier and TypeMethodDescriptionArrayType.instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key) BagType.instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key) abstract PersistentCollection<?> CollectionType.instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key) Instantiate an uninitialized collection wrapper or holder.CustomCollectionType.instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key) IdentifierBagType.instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key) ListType.instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key) MapType.instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key) SetType.instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key) SortedMapType.instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key) SortedSetType.instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key) ArrayType.wrap(SharedSessionContractImplementor session, Object array) BagType.wrap(SharedSessionContractImplementor session, Object collection) abstract PersistentCollection<?> CollectionType.wrap(SharedSessionContractImplementor session, Object collection) Wrap the naked collection instance in a wrapper, or instantiate a holder.CustomCollectionType.wrap(SharedSessionContractImplementor session, Object collection) IdentifierBagType.wrap(SharedSessionContractImplementor session, Object collection) ListType.wrap(SharedSessionContractImplementor session, Object collection) MapType.wrap(SharedSessionContractImplementor session, Object collection) SetType.wrap(SharedSessionContractImplementor session, Object collection) SortedMapType.wrap(SharedSessionContractImplementor session, Object collection) SortedSetType.wrap(SharedSessionContractImplementor session, Object collection) -
Uses of PersistentCollection in org.hibernate.usertype
Methods in org.hibernate.usertype that return PersistentCollectionModifier and TypeMethodDescriptionUserCollectionType.instantiate(SharedSessionContractImplementor session, CollectionPersister persister) Instantiate an uninitialized instance of the collection wrapperUserCollectionType.wrap(SharedSessionContractImplementor session, Object collection) Wrap an instance of a collection