Uses of Interface
org.hibernate.persister.collection.CollectionPersister
Packages that use CollectionPersister
Package
Description
The various concrete action implementations.
Internal implementations and support for second-level caching.
Defines the integration aspect of Hibernate's second-level caching, allowing
a "caching backend" to be plugged in as a cache provider.
Defines contracts for transactional and concurrent access to cached
entity and
collection data.
This package defines formats for disassembled state kept in the second level cache.
This package provides a framework intended to reduce the work needed to implement
a caching provider.
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
.This package defines an API for accessing the runtime metamodel describing persistent
entities in Java and their mappings to the relational database schema.
Defines the runtime mapping metamodel, which describes the mapping
of the application's domain model parts (entities, attributes) to
relational database objects (tables, columns).
Implementation of the SPI for the runtime domain metamodel.
This package abstracts persistence mechanisms for collections.
This package abstracts persistence mechanisms for entities.
Built-in implementation of the SPI for integrating entity and collection persisters.
An SPI for integrating custom entity and collection persisters.
Contains some functions for pretty-printing things for exception and log messages.
Validation for HQL queries.
Implementation of the SPIs for native SQL query support.
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 CollectionPersister in org.hibernate.action.internal
Methods in org.hibernate.action.internal that return CollectionPersisterModifier and TypeMethodDescriptionprotected final CollectionPersister
CollectionAction.getPersister()
Constructors in org.hibernate.action.internal with parameters of type CollectionPersisterModifierConstructorDescriptionprotected
CollectionAction
(CollectionPersister persister, PersistentCollection<?> collection, Object key, EventSource session) CollectionRecreateAction
(PersistentCollection<?> collection, CollectionPersister persister, Object id, EventSource session) Constructs a CollectionRecreateActionCollectionRemoveAction
(Object affectedOwner, CollectionPersister persister, Object id, boolean emptySnapshot, EventSource session) Removes a persistent collection from a specified owner.CollectionRemoveAction
(PersistentCollection<?> collection, CollectionPersister persister, Object id, boolean emptySnapshot, EventSource session) Removes a persistent collection from its loaded owner.CollectionRemoveAction
(CollectionPersister persister, Object id, EventSource session) Removes a persistent collection for an unloaded proxy.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 CollectionPersister in org.hibernate.cache.internal
Methods in org.hibernate.cache.internal with parameters of type CollectionPersisterModifier and TypeMethodDescriptionDefaultCacheKeysFactory.createCollectionKey
(Object id, CollectionPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) SimpleCacheKeysFactory.createCollectionKey
(Object id, CollectionPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) static Object
DefaultCacheKeysFactory.staticCreateCollectionKey
(Object id, CollectionPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) -
Uses of CollectionPersister in org.hibernate.cache.spi
Methods in org.hibernate.cache.spi with parameters of type CollectionPersisterModifier and TypeMethodDescriptionCacheKeysFactory.createCollectionKey
(Object id, CollectionPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) -
Uses of CollectionPersister in org.hibernate.cache.spi.access
Methods in org.hibernate.cache.spi.access with parameters of type CollectionPersisterModifier and TypeMethodDescriptionCollectionDataAccess.generateCacheKey
(Object id, CollectionPersister collectionDescriptor, SessionFactoryImplementor factory, String tenantIdentifier) To create instances of CollectionCacheKey for this region, Hibernate will invoke this method exclusively so that generated implementations can generate optimised keys. -
Uses of CollectionPersister in org.hibernate.cache.spi.entry
Methods in org.hibernate.cache.spi.entry with parameters of type CollectionPersisterModifier and TypeMethodDescriptionvoid
CollectionCacheEntry.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 CollectionPersisterModifierConstructorDescriptionCollectionCacheEntry
(PersistentCollection<?> collection, CollectionPersister persister) Constructs a CollectionCacheEntry -
Uses of CollectionPersister in org.hibernate.cache.spi.support
Methods in org.hibernate.cache.spi.support with parameters of type CollectionPersisterModifier and TypeMethodDescriptionAbstractCollectionDataAccess.generateCacheKey
(Object id, CollectionPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) CollectionReadWriteAccess.generateCacheKey
(Object id, CollectionPersister collectionDescriptor, SessionFactoryImplementor factory, String tenantIdentifier) -
Uses of CollectionPersister in org.hibernate.collection.internal
Methods in org.hibernate.collection.internal with parameters of type CollectionPersisterModifier and TypeMethodDescriptionCustomCollectionTypeSemantics.instantiateRaw
(int anticipatedSize, CollectionPersister collectionDescriptor) E[]
StandardArraySemantics.instantiateRaw
(int anticipatedSize, CollectionPersister collectionDescriptor) StandardListSemantics.instantiateRaw
(int anticipatedSize, CollectionPersister collectionDescriptor) StandardMapSemantics.instantiateRaw
(int anticipatedSize, CollectionPersister collectionDescriptor) StandardOrderedMapSemantics.instantiateRaw
(int anticipatedSize, CollectionPersister collectionDescriptor) StandardOrderedSetSemantics.instantiateRaw
(int anticipatedSize, CollectionPersister collectionDescriptor) StandardSetSemantics.instantiateRaw
(int anticipatedSize, CollectionPersister collectionDescriptor) StandardSortedMapSemantics.instantiateRaw
(int anticipatedSize, CollectionPersister collectionDescriptor) StandardSortedSetSemantics.instantiateRaw
(int anticipatedSize, CollectionPersister collectionDescriptor) CustomCollectionTypeSemantics.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) StandardSetSemantics.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) StandardSetSemantics.wrap
(Set<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 CollectionPersister in org.hibernate.collection.spi
Methods in org.hibernate.collection.spi with parameters of type CollectionPersisterModifier and TypeMethodDescriptionvoid
AbstractPersistentCollection.afterRowInsert
(CollectionPersister persister, Object entry, int i) void
PersistentCollection.afterRowInsert
(CollectionPersister persister, Object entry, int i) Called after inserting a row, to fetch the natively generated idvoid
PersistentIdentifierBag.afterRowInsert
(CollectionPersister persister, Object entry, int i) void
AbstractPersistentCollection.beforeInitialize
(CollectionPersister persister, int anticipatedSize) void
PersistentCollection.beforeInitialize
(CollectionPersister persister, int anticipatedSize) Called prior to the initialization of this yet-uninitialized collection.PersistentArrayHolder.disassemble
(CollectionPersister persister) PersistentBag.disassemble
(CollectionPersister persister) PersistentCollection.disassemble
(CollectionPersister persister) Disassemble the collection to get it ready for the cachePersistentIdentifierBag.disassemble
(CollectionPersister persister) PersistentList.disassemble
(CollectionPersister persister) PersistentMap.disassemble
(CollectionPersister persister) PersistentSet.disassemble
(CollectionPersister persister) PersistentArrayHolder.entries
(CollectionPersister persister) PersistentBag.entries
(CollectionPersister persister) Iterator<?>
PersistentCollection.entries
(CollectionPersister persister) Iterate all collection entries, during update of the databasePersistentIdentifierBag.entries
(CollectionPersister persister) PersistentList.entries
(CollectionPersister persister) PersistentMap.entries
(CollectionPersister persister) PersistentSet.entries
(CollectionPersister persister) boolean
PersistentArrayHolder.equalsSnapshot
(CollectionPersister persister) boolean
PersistentBag.equalsSnapshot
(CollectionPersister persister) boolean
PersistentCollection.equalsSnapshot
(CollectionPersister persister) Does the current state exactly match the snapshot?boolean
PersistentIdentifierBag.equalsSnapshot
(CollectionPersister persister) boolean
PersistentList.equalsSnapshot
(CollectionPersister persister) boolean
PersistentMap.equalsSnapshot
(CollectionPersister persister) boolean
PersistentSet.equalsSnapshot
(CollectionPersister persister) PersistentArrayHolder.getDeletes
(CollectionPersister persister, boolean indexIsFormula) Iterator<?>
PersistentBag.getDeletes
(CollectionPersister persister, boolean indexIsFormula) Iterator<?>
PersistentCollection.getDeletes
(CollectionPersister persister, boolean indexIsFormula) Get all the elements that need deletingIterator<?>
PersistentIdentifierBag.getDeletes
(CollectionPersister persister, boolean indexIsFormula) Iterator<?>
PersistentList.getDeletes
(CollectionPersister persister, boolean indexIsFormula) Iterator<?>
PersistentMap.getDeletes
(CollectionPersister persister, boolean indexIsFormula) Iterator<?>
PersistentSet.getDeletes
(CollectionPersister persister, boolean indexIsFormula) PersistentArrayHolder.getIndex
(Object entry, int i, CollectionPersister persister) PersistentBag.getIndex
(Object entry, int i, CollectionPersister persister) PersistentCollection.getIndex
(Object entry, int i, CollectionPersister persister) Get the index of the given collection entryPersistentIdentifierBag.getIndex
(Object entry, int i, CollectionPersister persister) PersistentList.getIndex
(Object entry, int i, CollectionPersister persister) PersistentMap.getIndex
(Object entry, int i, CollectionPersister persister) PersistentSet.getIndex
(Object entry, int i, CollectionPersister persister) PersistentArrayHolder.getSnapshot
(CollectionPersister persister) PersistentBag.getSnapshot
(CollectionPersister persister) PersistentCollection.getSnapshot
(CollectionPersister persister) Return a new snapshot of the current state of the collectionPersistentIdentifierBag.getSnapshot
(CollectionPersister persister) PersistentList.getSnapshot
(CollectionPersister persister) PersistentMap.getSnapshot
(CollectionPersister persister) PersistentSet.getSnapshot
(CollectionPersister persister) void
PersistentArrayHolder.initializeEmptyCollection
(CollectionPersister persister) void
PersistentBag.initializeEmptyCollection
(CollectionPersister persister) void
PersistentCollection.initializeEmptyCollection
(CollectionPersister persister) void
PersistentIdentifierBag.initializeEmptyCollection
(CollectionPersister persister) void
PersistentList.initializeEmptyCollection
(CollectionPersister persister) void
PersistentMap.initializeEmptyCollection
(CollectionPersister persister) void
PersistentSet.initializeEmptyCollection
(CollectionPersister persister) void
PersistentArrayHolder.initializeFromCache
(CollectionPersister persister, Object disassembled, Object owner) void
PersistentBag.initializeFromCache
(CollectionPersister collectionDescriptor, Object disassembled, Object owner) void
PersistentCollection.initializeFromCache
(CollectionPersister persister, Object disassembled, Object owner) Read the state of the collection from a disassembled cached valuevoid
PersistentIdentifierBag.initializeFromCache
(CollectionPersister persister, Object disassembled, Object owner) void
PersistentList.initializeFromCache
(CollectionPersister persister, Object disassembled, Object owner) void
PersistentMap.initializeFromCache
(CollectionPersister persister, Object disassembled, Object owner) void
PersistentSet.initializeFromCache
(CollectionPersister persister, Object disassembled, Object owner) AbstractBagSemantics.instantiateRaw
(int anticipatedSize, CollectionPersister collectionDescriptor) CollectionSemantics.instantiateRaw
(int anticipatedSize, CollectionPersister collectionDescriptor) Create a raw (unwrapped) version of the collectionCollectionSemantics.instantiateWrapper
(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) Create a wrapper for the collectionboolean
AbstractPersistentCollection.needsRecreate
(CollectionPersister persister) boolean
PersistentBag.needsRecreate
(CollectionPersister persister) boolean
PersistentCollection.needsRecreate
(CollectionPersister persister) Do we need to completely recreate this collection when it changes?void
AbstractPersistentCollection.preInsert
(CollectionPersister persister) void
PersistentCollection.preInsert
(CollectionPersister persister) Called before inserting rows, to ensure that any surrogate keys are fully generatedvoid
PersistentIdentifierBag.preInsert
(CollectionPersister persister) void
AbstractPersistentCollection.AbstractValueDelayedOperation.replace
(CollectionPersister persister, Map<Object, Object> copyCache) void
AbstractPersistentCollection.ValueDelayedOperation.replace
(CollectionPersister collectionPersister, Map<Object, Object> copyCache) final void
AbstractPersistentCollection.replaceQueuedOperationValues
(CollectionPersister persister, Map<Object, Object> copyCache) Replace entity instances with copy incopyCache
.CollectionSemantics.wrap
(CE rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session) Wrap a raw collection in wrapperConstructors in org.hibernate.collection.spi with parameters of type CollectionPersisterModifierConstructorDescriptionPersistentArrayHolder
(SharedSessionContractImplementor session, CollectionPersister persister) Constructs a PersistentCollection instance for holding an array. -
Uses of CollectionPersister in org.hibernate.engine.internal
Methods in org.hibernate.engine.internal with parameters of type CollectionPersisterModifier and TypeMethodDescriptionStatefulPersistenceContext.addInitializedCollection
(CollectionPersister persister, PersistentCollection<?> collection, Object id) void
StatefulPersistenceContext.addInitializedDetachedCollection
(CollectionPersister collectionPersister, PersistentCollection<?> collection) void
StatefulPersistenceContext.addNewCollection
(CollectionPersister persister, PersistentCollection<?> collection) void
StatefulPersistenceContext.addUninitializedCollection
(CollectionPersister persister, PersistentCollection<?> collection, Object id) void
StatefulPersistenceContext.addUninitializedDetachedCollection
(CollectionPersister persister, PersistentCollection<?> collection) static Object
CacheHelper.fromSharedCache
(SharedSessionContractImplementor session, Object cacheKey, CollectionPersister persister, CachedDomainDataAccess cacheAccess) StatefulPersistenceContext.getCollectionOwner
(Object key, CollectionPersister collectionPersister) static boolean
Collections.skipRemoval
(EventSource session, CollectionPersister persister, Object key) Determines if we can skip the explicit SQL delete statement, since the rows will be deleted byon delete cascade
. -
Uses of CollectionPersister in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return CollectionPersisterModifier and TypeMethodDescription@Nullable CollectionPersister
CollectionEntry.getCurrentPersister()
@Nullable CollectionPersister
CollectionEntry.getLoadedPersister()
This is only available late during the flush cycleMethods in org.hibernate.engine.spi with parameters of type CollectionPersisterModifier and TypeMethodDescriptionPersistenceContext.addInitializedCollection
(CollectionPersister persister, PersistentCollection<?> collection, Object id) add a collection we just pulled out of the cache (does not need initializing)void
PersistenceContext.addInitializedDetachedCollection
(CollectionPersister collectionPersister, PersistentCollection<?> collection) add an (initialized) collection that was created by another session and passed into update() (ie.void
PersistenceContext.addNewCollection
(CollectionPersister persister, PersistentCollection<?> collection) Add a new collection (ie.void
PersistenceContext.addUninitializedCollection
(CollectionPersister persister, PersistentCollection<?> collection, Object id) add a collection we just loaded up (still needs initializing)void
PersistenceContext.addUninitializedDetachedCollection
(CollectionPersister persister, PersistentCollection<?> collection) add a detached uninitialized collectionint
LoadQueryInfluencers.effectiveBatchSize
(CollectionPersister persister) boolean
LoadQueryInfluencers.effectivelyBatchLoadable
(CollectionPersister persister) boolean
LoadQueryInfluencers.effectiveSubselectFetchEnabled
(CollectionPersister persister) Object[]
BatchFetchQueue.getCollectionBatch
(CollectionPersister collectionPersister, Object id, int batchSize) Get a batch of uninitialized collection keys for a given rolePersistenceContext.getCollectionOwner
(Object key, CollectionPersister collectionPersister) Get the entity that owns this persistent collectionvoid
CollectionEntry.setCurrentPersister
(@Nullable CollectionPersister currentPersister) Constructors in org.hibernate.engine.spi with parameters of type CollectionPersisterModifierConstructorDescriptionCollectionEntry
(PersistentCollection<?> collection, CollectionPersister loadedPersister, Object loadedKey, boolean ignore) For collections just loaded from the databaseCollectionEntry
(CollectionPersister loadedPersister, Object loadedKey) For uninitialized detached collectionsCollectionEntry
(CollectionPersister persister, PersistentCollection<?> collection) For newly wrapped collections, or dereferenced collection wrappersCollectionKey
(CollectionPersister persister, Object key) -
Uses of CollectionPersister in org.hibernate.envers.internal.entities.mapper.relation
Methods in org.hibernate.envers.internal.entities.mapper.relation that return CollectionPersisterModifier and TypeMethodDescriptionprotected CollectionPersister
AbstractCollectionMapper.resolveCollectionPersister
(SessionImplementor session, PersistentCollection collection) Methods in org.hibernate.envers.internal.entities.mapper.relation with parameters of type CollectionPersisterModifier and TypeMethodDescriptionprotected boolean
AbstractCollectionMapper.isSame
(CollectionPersister collectionPersister, Object oldObject, Object newObject) Checks whether the old collection element and new collection element are the same.protected boolean
MapCollectionMapper.isSame
(CollectionPersister collectionPersister, Object oldObject, Object newObject) -
Uses of CollectionPersister in org.hibernate.event.internal
Methods in org.hibernate.event.internal with parameters of type CollectionPersisterModifier and TypeMethodDescriptionvoid
EmptyEventManager.completeCacheGetEvent
(HibernateMonitoringEvent cacheGetEvent, SharedSessionContractImplementor session, Region region, CollectionPersister persister, boolean hit) void
EmptyEventManager.completeCachePutEvent
(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, CollectionPersister persister, boolean cacheContentChanged, EventManager.CacheActionDescription description) static void
DefaultInitializeCollectionEventListener.handlePotentiallyEmptyCollection
(PersistentCollection<?> collection, PersistenceContext persistenceContext, Object loadedKey, CollectionPersister loadedPersister) protected static boolean
ProxyVisitor.isOwnerUnchanged
(CollectionPersister persister, Object id, PersistentCollection<?> snapshot) Has the owner of the collection changed since the collection was snapshotted and detached? -
Uses of CollectionPersister in org.hibernate.event.spi
Methods in org.hibernate.event.spi that return CollectionPersisterModifier and TypeMethodDescriptionprotected static CollectionPersister
AbstractCollectionEvent.getLoadedCollectionPersister
(PersistentCollection<?> collection, EventSource source) Methods in org.hibernate.event.spi with parameters of type CollectionPersisterModifier and TypeMethodDescriptionvoid
EventManager.completeCacheGetEvent
(HibernateMonitoringEvent cacheGetEvent, SharedSessionContractImplementor session, Region region, CollectionPersister persister, boolean hit) void
EventManager.completeCachePutEvent
(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, CollectionPersister persister, boolean cacheContentChanged, EventManager.CacheActionDescription description) protected static String
AbstractCollectionEvent.getAffectedOwnerEntityName
(CollectionPersister collectionPersister, Object affectedOwner, EventSource source) Constructors in org.hibernate.event.spi with parameters of type CollectionPersisterModifierConstructorDescriptionAbstractCollectionEvent
(CollectionPersister collectionPersister, PersistentCollection<?> collection, EventSource source, Object affectedOwner, Object affectedOwnerId) Constructs an AbstractCollectionEvent object.PostCollectionRecreateEvent
(CollectionPersister collectionPersister, PersistentCollection<?> collection, EventSource source) PostCollectionRemoveEvent
(CollectionPersister collectionPersister, PersistentCollection<?> collection, EventSource source, Object loadedOwner) PostCollectionUpdateEvent
(CollectionPersister collectionPersister, PersistentCollection<?> collection, EventSource source) PreCollectionRecreateEvent
(CollectionPersister collectionPersister, PersistentCollection<?> collection, EventSource source) PreCollectionRemoveEvent
(CollectionPersister collectionPersister, PersistentCollection<?> collection, EventSource source, Object loadedOwner) PreCollectionUpdateEvent
(CollectionPersister collectionPersister, PersistentCollection<?> collection, EventSource source) -
Uses of CollectionPersister in org.hibernate.loader.ast.internal
Constructors in org.hibernate.loader.ast.internal with parameters of type CollectionPersisterModifierConstructorDescriptionCollectionLoaderNamedQuery
(CollectionPersister persister, NamedQueryMemento<?> namedQueryMemento) -
Uses of CollectionPersister in org.hibernate.metamodel
Methods in org.hibernate.metamodel that return CollectionPersisterModifier and TypeMethodDescriptionMappingMetamodel.findCollectionDescriptor
(String role) Find a collection mapping descriptor based on its role.MappingMetamodel.findCollectionDescriptor
(NavigableRole role) Find a collection mapping descriptor based on its role.MappingMetamodel.getCollectionDescriptor
(String role) Get a collection mapping descriptor based on its roleMappingMetamodel.getCollectionDescriptor
(NavigableRole role) Get a collection mapping descriptor based on its roleMethods in org.hibernate.metamodel that return types with arguments of type CollectionPersisterModifier and TypeMethodDescriptionMappingMetamodel.streamCollectionDescriptors()
Deprecated, for removal: This API element is subject to removal in a future version.Method parameters in org.hibernate.metamodel with type arguments of type CollectionPersisterModifier and TypeMethodDescriptionvoid
MappingMetamodel.forEachCollectionDescriptor
(Consumer<CollectionPersister> action) Visit the mapping descriptors for all collections defined in the model -
Uses of CollectionPersister in org.hibernate.metamodel.mapping
Methods in org.hibernate.metamodel.mapping that return CollectionPersister -
Uses of CollectionPersister in org.hibernate.metamodel.mapping.internal
Methods in org.hibernate.metamodel.mapping.internal that return CollectionPersisterModifier and TypeMethodDescriptionAbstractEntityCollectionPart.getCollectionDescriptor()
PluralAttributeMappingImpl.getCollectionDescriptor()
Methods in org.hibernate.metamodel.mapping.internal with parameters of type CollectionPersisterModifier and TypeMethodDescriptionboolean
EntityCollectionPart.finishInitialization
(CollectionPersister collectionDescriptor, Collection bootValueMapping, String fkTargetModelPartName, MappingModelCreationProcess creationProcess) Perform any delayed initialization.boolean
ManyToManyCollectionPart.finishInitialization
(CollectionPersister collectionDescriptor, Collection bootCollectionDescriptor, String fkTargetModelPartName, MappingModelCreationProcess creationProcess) boolean
OneToManyCollectionPart.finishInitialization
(CollectionPersister collectionDescriptor, Collection bootValueMapping, String fkTargetModelPartName, MappingModelCreationProcess creationProcess) Method parameters in org.hibernate.metamodel.mapping.internal with type arguments of type CollectionPersisterModifier and TypeMethodDescriptionstatic void
MappingModelCreationProcess.process
(EntityPersisterConcurrentMap entityPersisterMap, Map<String, CollectionPersister> collectionPersisterMap, RuntimeModelCreationContext creationContext) Triggers creation of the mapping modelConstructors in org.hibernate.metamodel.mapping.internal with parameters of type CollectionPersisterModifierConstructorDescriptionAbstractEntityCollectionPart
(CollectionPart.Nature nature, Collection collectionBootDescriptor, CollectionPersister collectionDescriptor, EntityMappingType associatedEntityTypeDescriptor, NotFoundAction notFoundAction, MappingModelCreationProcess creationProcess) BasicValuedCollectionPart
(CollectionPersister collectionDescriptor, CollectionPart.Nature nature, SelectableMapping selectableMapping) CollectionIdentifierDescriptorImpl
(CollectionPersister collectionDescriptor, String containingTableName, String columnName, BasicType<?> type) DiscriminatedCollectionPart
(CollectionPart.Nature nature, CollectionPersister collectionDescriptor, JavaType<Object> baseAssociationJtd, Any bootValueMapping, AnyType anyType, MappingModelCreationProcess creationProcess) EmbeddedCollectionPart
(CollectionPersister collectionDescriptor, CollectionPart.Nature nature, EmbeddableMappingType embeddableMappingType, String parentInjectionAttributeName, String containingTableExpression, String sqlAliasStem) ManyToManyCollectionPart
(CollectionPart.Nature nature, Collection collectionBootDescriptor, CollectionPersister collectionDescriptor, EntityMappingType associatedEntityDescriptor, NotFoundAction notFoundAction, MappingModelCreationProcess creationProcess) ManyToManyCollectionPart
(CollectionPart.Nature nature, Collection collectionBootDescriptor, CollectionPersister collectionDescriptor, EntityMappingType associatedEntityDescriptor, MappingModelCreationProcess creationProcess) OneToManyCollectionPart
(CollectionPart.Nature nature, Collection bootCollectionDescriptor, CollectionPersister collectionDescriptor, EntityMappingType elementTypeDescriptor, NotFoundAction notFoundAction, MappingModelCreationProcess creationProcess) OneToManyCollectionPart
(CollectionPart.Nature nature, Collection bootCollectionDescriptor, CollectionPersister collectionDescriptor, EntityMappingType elementTypeDescriptor, MappingModelCreationProcess creationProcess) PluralAttributeMappingImpl
(String attributeName, Collection bootDescriptor, PropertyAccess propertyAccess, AttributeMetadata attributeMetadata, CollectionMappingType<?> collectionMappingType, int stateArrayPosition, int fetchableIndex, CollectionPart elementDescriptor, CollectionPart indexDescriptor, CollectionIdentifierDescriptor identifierDescriptor, FetchTiming fetchTiming, FetchStyle fetchStyle, CascadeStyle cascadeStyle, ManagedMappingType declaringType, CollectionPersister collectionDescriptor, MappingModelCreationProcess creationProcess) -
Uses of CollectionPersister in org.hibernate.metamodel.model.domain.internal
Methods in org.hibernate.metamodel.model.domain.internal that return CollectionPersisterModifier and TypeMethodDescriptionMappingMetamodelImpl.findCollectionDescriptor
(String role) MappingMetamodelImpl.findCollectionDescriptor
(NavigableRole role) MappingMetamodelImpl.getCollectionDescriptor
(String role) MappingMetamodelImpl.getCollectionDescriptor
(NavigableRole role) Methods in org.hibernate.metamodel.model.domain.internal that return types with arguments of type CollectionPersisterModifier and TypeMethodDescriptionMappingMetamodelImpl.streamCollectionDescriptors()
Deprecated, for removal: This API element is subject to removal in a future version.Method parameters in org.hibernate.metamodel.model.domain.internal with type arguments of type CollectionPersisterModifier and TypeMethodDescriptionvoid
MappingMetamodelImpl.forEachCollectionDescriptor
(Consumer<CollectionPersister> action) -
Uses of CollectionPersister in org.hibernate.persister.collection
Classes in org.hibernate.persister.collection that implement CollectionPersisterModifier and TypeClassDescriptionclass
Base implementation of theQueryableCollection
interface.class
class
Methods in org.hibernate.persister.collection with parameters of type CollectionPersisterModifier and TypeMethodDescriptionprotected CollectionLoader
AbstractCollectionPersister.createNamedQueryCollectionLoader
(CollectionPersister persister, NamedQueryMemento<?> namedQueryMemento) For Hibernate Reactive -
Uses of CollectionPersister in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity with parameters of type CollectionPersisterModifier and TypeMethodDescriptionstatic @Nullable Object
AbstractEntityPersister.getCollectionKey
(CollectionPersister persister, Object owner, EntityEntry ownerEntry, SharedSessionContractImplementor session) -
Uses of CollectionPersister in org.hibernate.persister.internal
Methods in org.hibernate.persister.internal that return CollectionPersisterModifier and TypeMethodDescriptionPersisterFactoryImpl.createCollectionPersister
(Collection collectionBinding, @Nullable CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext) Methods in org.hibernate.persister.internal that return types with arguments of type CollectionPersisterModifier and TypeMethodDescriptionClass<? extends CollectionPersister>
StandardPersisterClassResolver.getCollectionPersisterClass
(Collection metadata) -
Uses of CollectionPersister in org.hibernate.persister.spi
Methods in org.hibernate.persister.spi that return CollectionPersisterModifier and TypeMethodDescriptionPersisterFactory.createCollectionPersister
(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext) Create a collection persister instance.Methods in org.hibernate.persister.spi that return types with arguments of type CollectionPersisterModifier and TypeMethodDescriptionClass<? extends CollectionPersister>
PersisterClassResolver.getCollectionPersisterClass
(Collection metadata) Returns the collection persister class for a given collection role or null if the collection persister class should be the default. -
Uses of CollectionPersister in org.hibernate.pretty
Methods in org.hibernate.pretty with parameters of type CollectionPersisterModifier and TypeMethodDescriptionstatic String
MessageHelper.collectionInfoString
(@Nullable CollectionPersister persister, @Nullable Object id, SessionFactoryImplementor factory) Generate an info message string relating to a particular managed collection.static String
MessageHelper.collectionInfoString
(@Nullable CollectionPersister persister, @Nullable PersistentCollection<?> collection, Object collectionKey, SharedSessionContractImplementor session) Generate an info message string relating to a particular managed collection.static String
MessageHelper.collectionInfoString
(@Nullable CollectionPersister persister, Object[] ids, SessionFactoryImplementor factory) Generate an info message string relating to a series of managed collections. -
Uses of CollectionPersister in org.hibernate.processor.validation
Classes in org.hibernate.processor.validation that implement CollectionPersisterModifier and TypeClassDescriptionclass
static class
static class
-
Uses of CollectionPersister in org.hibernate.query.sql.internal
Methods in org.hibernate.query.sql.internal that return CollectionPersisterModifier and TypeMethodDescriptionResultSetMappingProcessor.getCollectionPersister
(String alias) SQLQueryParser.ParserContext.getCollectionPersister
(String alias) -
Uses of CollectionPersister in org.hibernate.sql.results.graph.collection
Methods in org.hibernate.sql.results.graph.collection that return CollectionPersisterModifier and TypeMethodDescriptionLoadingCollectionEntry.getCollectionDescriptor()
The descriptor for the collection being loadeddefault CollectionPersister
CollectionInitializer.getInitializingCollectionDescriptor()
-
Uses of CollectionPersister in org.hibernate.sql.results.internal
Methods in org.hibernate.sql.results.internal that return CollectionPersisterMethods in org.hibernate.sql.results.internal with parameters of type CollectionPersisterModifier and TypeMethodDescriptionstatic void
ResultsHelper.finalizeCollectionLoading
(PersistenceContext persistenceContext, CollectionPersister collectionDescriptor, PersistentCollection<?> collectionInstance, Object key, boolean hasNoQueuedAdds) Constructors in org.hibernate.sql.results.internal with parameters of type CollectionPersisterModifierConstructorDescriptionLoadingCollectionEntryImpl
(CollectionPersister collectionDescriptor, CollectionInitializer<?> initializer, Object key, PersistentCollection<?> collectionInstance) -
Uses of CollectionPersister in org.hibernate.type
Methods in org.hibernate.type with parameters of type CollectionPersisterModifier 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) -
Uses of CollectionPersister in org.hibernate.usertype
Methods in org.hibernate.usertype with parameters of type CollectionPersisterModifier and TypeMethodDescriptionUserCollectionType.instantiate
(SharedSessionContractImplementor session, CollectionPersister persister) Instantiate an uninitialized instance of the collection wrapperUserCollectionType.replaceElements
(Object original, Object target, CollectionPersister persister, Object owner, Map copyCache, SharedSessionContractImplementor session) Replace the elements of a collection with the elements of another collection