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 the Hibernate configuration-time mapping model.
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.
An SPI supporting custom instantiation of
entity instances and
embeddable objects.
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.
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 CollectionPersisterCollectionAction.getPersister()Constructors in org.hibernate.action.internal with parameters of type CollectionPersisterModifierConstructorDescriptionprotectedCollectionAction(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 ObjectDefaultCacheKeysFactory.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 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 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 TypeMethodDescriptionvoidAbstractPersistentCollection.afterRowInsert(CollectionPersister persister, Object entry, int i) voidPersistentCollection.afterRowInsert(CollectionPersister persister, Object entry, int i) Called after inserting a row, to fetch the natively generated idvoidPersistentIdentifierBag.afterRowInsert(CollectionPersister persister, Object entry, int i) voidAbstractPersistentCollection.beforeInitialize(CollectionPersister persister, int anticipatedSize) voidPersistentCollection.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) booleanPersistentArrayHolder.equalsSnapshot(CollectionPersister persister) booleanPersistentBag.equalsSnapshot(CollectionPersister persister) booleanPersistentCollection.equalsSnapshot(CollectionPersister persister) Does the current state exactly match the snapshot?booleanPersistentIdentifierBag.equalsSnapshot(CollectionPersister persister) booleanPersistentList.equalsSnapshot(CollectionPersister persister) booleanPersistentMap.equalsSnapshot(CollectionPersister persister) booleanPersistentSet.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) voidPersistentArrayHolder.initializeEmptyCollection(CollectionPersister persister) voidPersistentBag.initializeEmptyCollection(CollectionPersister persister) voidPersistentCollection.initializeEmptyCollection(CollectionPersister persister) voidPersistentIdentifierBag.initializeEmptyCollection(CollectionPersister persister) voidPersistentList.initializeEmptyCollection(CollectionPersister persister) voidPersistentMap.initializeEmptyCollection(CollectionPersister persister) voidPersistentSet.initializeEmptyCollection(CollectionPersister persister) voidPersistentArrayHolder.initializeFromCache(CollectionPersister persister, Object disassembled, Object owner) voidPersistentBag.initializeFromCache(CollectionPersister collectionDescriptor, Object disassembled, Object owner) voidPersistentCollection.initializeFromCache(CollectionPersister persister, Object disassembled, Object owner) Read the state of the collection from a disassembled cached valuevoidPersistentIdentifierBag.initializeFromCache(CollectionPersister persister, Object disassembled, Object owner) voidPersistentList.initializeFromCache(CollectionPersister persister, Object disassembled, Object owner) voidPersistentMap.initializeFromCache(CollectionPersister persister, Object disassembled, Object owner) voidPersistentSet.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 collectionbooleanAbstractPersistentCollection.needsRecreate(CollectionPersister persister) booleanPersistentBag.needsRecreate(CollectionPersister persister) booleanPersistentCollection.needsRecreate(CollectionPersister persister) Do we need to completely recreate this collection when it changes?voidAbstractPersistentCollection.preInsert(CollectionPersister persister) voidPersistentCollection.preInsert(CollectionPersister persister) Called before inserting rows, to ensure that any surrogate keys are fully generatedvoidPersistentIdentifierBag.preInsert(CollectionPersister persister) voidAbstractPersistentCollection.AbstractValueDelayedOperation.replace(CollectionPersister persister, Map<Object, Object> copyCache) voidAbstractPersistentCollection.ValueDelayedOperation.replace(CollectionPersister collectionPersister, Map<Object, Object> copyCache) final voidAbstractPersistentCollection.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) voidStatefulPersistenceContext.addInitializedDetachedCollection(CollectionPersister collectionPersister, PersistentCollection<?> collection) voidStatefulPersistenceContext.addNewCollection(CollectionPersister persister, PersistentCollection<?> collection) voidStatefulPersistenceContext.addUninitializedCollection(CollectionPersister persister, PersistentCollection<?> collection, Object id) voidStatefulPersistenceContext.addUninitializedDetachedCollection(CollectionPersister persister, PersistentCollection<?> collection) static ObjectCacheHelper.fromSharedCache(SharedSessionContractImplementor session, Object cacheKey, CollectionPersister persister, CachedDomainDataAccess cacheAccess) StatefulPersistenceContext.getCollectionOwner(Object key, CollectionPersister collectionPersister) static booleanCollections.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 CollectionPersisterCollectionEntry.getCurrentPersister()@Nullable CollectionPersisterCollectionEntry.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)voidPersistenceContext.addInitializedDetachedCollection(CollectionPersister collectionPersister, PersistentCollection<?> collection) add an (initialized) collection that was created by another session and passed into update() (ie. one with a snapshot and existing state on the database)voidPersistenceContext.addNewCollection(CollectionPersister persister, PersistentCollection<?> collection) Add a new collection (ie. a newly created one, just instantiated by the application, with no database state or snapshot)voidPersistenceContext.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 collectionintLoadQueryInfluencers.effectiveBatchSize(CollectionPersister persister) booleanLoadQueryInfluencers.effectivelyBatchLoadable(CollectionPersister persister) booleanLoadQueryInfluencers.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 collectionvoidCollectionEntry.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 CollectionPersisterAbstractCollectionMapper.resolveCollectionPersister(SessionImplementor session, PersistentCollection collection) Methods in org.hibernate.envers.internal.entities.mapper.relation with parameters of type CollectionPersisterModifier and TypeMethodDescriptionprotected booleanAbstractCollectionMapper.isSame(CollectionPersister collectionPersister, Object oldObject, Object newObject) Checks whether the old collection element and new collection element are the same.protected booleanMapCollectionMapper.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 TypeMethodDescriptionvoidEmptyEventManager.completeCacheGetEvent(HibernateMonitoringEvent cacheGetEvent, SharedSessionContractImplementor session, Region region, CollectionPersister persister, boolean hit) voidEmptyEventManager.completeCachePutEvent(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, CollectionPersister persister, boolean cacheContentChanged, EventManager.CacheActionDescription description) static 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? -
Uses of CollectionPersister in org.hibernate.event.spi
Methods in org.hibernate.event.spi that return CollectionPersisterModifier and TypeMethodDescriptionprotected static CollectionPersisterAbstractCollectionEvent.getLoadedCollectionPersister(PersistentCollection<?> collection, EventSource source) Methods in org.hibernate.event.spi with parameters of type CollectionPersisterModifier and TypeMethodDescriptionvoidEventManager.completeCacheGetEvent(HibernateMonitoringEvent cacheGetEvent, SharedSessionContractImplementor session, Region region, CollectionPersister persister, boolean hit) voidEventManager.completeCachePutEvent(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, CollectionPersister persister, boolean cacheContentChanged, EventManager.CacheActionDescription description) protected static StringAbstractCollectionEvent.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.mapping
Methods in org.hibernate.mapping that return types with arguments of type CollectionPersisterModifier and TypeMethodDescriptionClass<? extends CollectionPersister>Collection.getCollectionPersisterClass()Method parameters in org.hibernate.mapping with type arguments of type CollectionPersisterModifier and TypeMethodDescriptionvoidCollection.setCollectionPersisterClass(Class<? extends CollectionPersister> persister) -
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 CollectionPersisterMethod parameters in org.hibernate.metamodel with type arguments of type CollectionPersisterModifier and TypeMethodDescriptionvoidMappingMetamodel.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 TypeMethodDescriptionbooleanEntityCollectionPart.finishInitialization(CollectionPersister collectionDescriptor, Collection bootValueMapping, String fkTargetModelPartName, MappingModelCreationProcess creationProcess) Perform any delayed initialization.booleanManyToManyCollectionPart.finishInitialization(CollectionPersister collectionDescriptor, Collection bootCollectionDescriptor, String fkTargetModelPartName, MappingModelCreationProcess creationProcess) booleanOneToManyCollectionPart.finishInitialization(CollectionPersister collectionDescriptor, Collection bootValueMapping, String fkTargetModelPartName, MappingModelCreationProcess creationProcess) Constructors 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.collectionPersister(String role) MappingMetamodelImpl.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.collectionPersisters()MappingMetamodelImpl.streamCollectionDescriptors()Method parameters in org.hibernate.metamodel.model.domain.internal with type arguments of type CollectionPersisterModifier and TypeMethodDescriptionvoidMappingMetamodelImpl.forEachCollectionDescriptor(Consumer<CollectionPersister> action) -
Uses of CollectionPersister in org.hibernate.metamodel.spi
Methods in org.hibernate.metamodel.spi that return CollectionPersisterModifier and TypeMethodDescriptiondefault CollectionPersisterMetamodelImplementor.collectionPersister(String role) Deprecated.Methods in org.hibernate.metamodel.spi that return types with arguments of type CollectionPersisterModifier and TypeMethodDescriptionMetamodelImplementor.collectionPersisters()Deprecated.With no direct replacement; seeMappingMetamodel.forEachCollectionDescriptor(java.util.function.Consumer<org.hibernate.persister.collection.CollectionPersister>)andMappingMetamodel.streamCollectionDescriptors()instead -
Uses of CollectionPersister in org.hibernate.persister.collection
Subinterfaces of CollectionPersister in org.hibernate.persister.collectionModifier and TypeInterfaceDescriptioninterfaceDeprecated.Just used to singly extend all the deprecated collection persister rolesinterfaceDeprecated, for removal: This API element is subject to removal in a future version.Given the mapping-model and SQM, this contract is no longer needed.interfaceDeprecated.Classes in org.hibernate.persister.collection that implement CollectionPersisterModifier and TypeClassDescriptionclassBase implementation of theQueryableCollectioninterface.classclassMethods in org.hibernate.persister.collection with parameters of type CollectionPersisterModifier and TypeMethodDescriptionprotected CollectionLoaderAbstractCollectionPersister.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 TypeMethodDescription@Nullable ObjectAbstractEntityPersister.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) PersisterFactoryImpl.createCollectionPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext 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 TypeMethodDescriptiondefault CollectionPersisterPersisterFactory.createCollectionPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext) Create a collection persister instance.PersisterFactory.createCollectionPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext) 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 StringMessageHelper.collectionInfoString(@Nullable CollectionPersister persister, @Nullable Object id, SessionFactoryImplementor factory) Generate an info message string relating to a particular managed collection.static StringMessageHelper.collectionInfoString(@Nullable CollectionPersister persister, @Nullable PersistentCollection<?> collection, Object collectionKey, SharedSessionContractImplementor session) Generate an info message string relating to a particular managed collection.static StringMessageHelper.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.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 CollectionPersisterCollectionInitializer.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 voidResultsHelper.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
MappingMetamodel.getCollectionDescriptor(java.lang.String)instead