Uses of Class
org.hibernate.mapping.Collection
Package
Description
This package contains the interfaces that make up the bootstrap API
for Hibernate.
A range of SPIs allowing integration with—and customization of—the process of building metadata.
Implementation of the second-level cache configuration SPI.
Internal implementations and support for persistent collections.
This package defines the SPI of a framework for lazy-initializing
and state-tracking collection wrappers.
This package defines the Hibernate configuration-time mapping model.
This package abstracts persistence mechanisms for collections.
Built-in implementation of the SPI for integrating entity and collection persisters.
An SPI for integrating custom entity and collection persisters.
-
Uses of Collection in org.hibernate.boot
Modifier and TypeMethodDescriptionMetadata.getCollectionBinding
(String role) Retrieves the collection mapping metadata for the given collection role.Modifier and TypeMethodDescriptionMetadata.getCollectionBindings()
Retrieves the Collection metadata representation for all known collections. -
Uses of Collection in org.hibernate.boot.internal
Modifier and TypeMethodDescriptionInFlightMetadataCollectorImpl.getCollectionBinding
(String role) MetadataImpl.getCollectionBinding
(String role) Modifier and TypeMethodDescriptionMetadataImpl.getCollectionBindingMap()
InFlightMetadataCollectorImpl.getCollectionBindings()
MetadataImpl.getCollectionBindings()
Modifier and TypeMethodDescriptionvoid
InFlightMetadataCollectorImpl.addCollectionBinding
(Collection collection) -
Uses of Collection in org.hibernate.boot.model.internal
Modifier and TypeMethodDescriptionprotected Collection
ArrayBinder.createCollection
(PersistentClass owner) protected Collection
BagBinder.createCollection
(PersistentClass owner) protected abstract Collection
CollectionBinder.createCollection
(PersistentClass persistentClass) protected Collection
IdBagBinder.createCollection
(PersistentClass owner) protected Collection
ListBinder.createCollection
(PersistentClass owner) protected Collection
MapBinder.createCollection
(PersistentClass owner) protected Collection
PrimitiveArrayBinder.createCollection
(PersistentClass owner) protected Collection
SetBinder.createCollection
(PersistentClass persistentClass) CollectionBinder.getCollection()
CollectionPropertyHolder.getCollectionBinding()
Modifier and TypeMethodDescriptionstatic CollectionPropertyHolder
PropertyHolderBuilder.buildPropertyHolder
(Collection collection, String path, org.hibernate.annotations.common.reflection.XClass clazzToProcess, org.hibernate.annotations.common.reflection.XProperty property, PropertyHolder parentPropertyHolder, MetadataBuildingContext context) build a property holder on top of a collectionModifierConstructorDescriptionCollectionPropertyHolder
(Collection collection, String path, org.hibernate.annotations.common.reflection.XClass clazzToProcess, org.hibernate.annotations.common.reflection.XProperty property, PropertyHolder parentPropertyHolder, MetadataBuildingContext context) CollectionSecondPass
(Collection collection) -
Uses of Collection in org.hibernate.boot.spi
Modifier and TypeMethodDescriptionvoid
InFlightMetadataCollector.addCollectionBinding
(Collection collection) Add collection mapping metadata to this repository. -
Uses of Collection in org.hibernate.cache.cfg.internal
Modifier and TypeMethodDescriptionDomainDataRegionConfigImpl.Builder.addCollectionConfig
(Collection collectionDescriptor, AccessType accessType) ModifierConstructorDescriptionCollectionDataCachingConfigImpl
(Collection collectionDescriptor, AccessType accessType) -
Uses of Collection in org.hibernate.collection.internal
Modifier and TypeMethodDescriptionStandardCollectionSemanticsResolver.resolveRepresentation
(Collection bootDescriptor) -
Uses of Collection in org.hibernate.collection.spi
Modifier and TypeMethodDescription<CE,
E> CollectionSemantics<CE, E> CollectionSemanticsResolver.resolveRepresentation
(Collection bootDescriptor) -
Uses of Collection in org.hibernate.envers.configuration.internal.metadata
Modifier and TypeMethodDescriptionprotected String
AbstractCollectionMetadataGenerator.getOrderBy
(Collection collection) protected String
AbstractCollectionMetadataGenerator.getOrderByCollectionRole
(Collection collection, String orderBy) static boolean
CollectionMappedByResolver.isMappedByKey
(Collection collection, String mappedBy) static String
CollectionMappedByResolver.resolveMappedBy
(Collection collection, PropertyAuditingData propertyAuditingData) -
Uses of Collection in org.hibernate.mapping
Modifier and TypeClassDescriptionclass
An array mapping has a primary key consisting of the key columns + index column.class
A mapping model object representing a collection of typeCollection
which may contain duplicates.class
A bag with a generated (surrogate) key.class
A mapping model object representing a collection with a synthetic "identifier" column, that is, a surrogate key.class
Indexed collections include Lists, Maps, arrays and primitive arrays.class
A mapping model object representing a collection of typeList
.class
A mapping model object representing a collection of typeMap
.class
A primitive array has a primary key consisting of the key columns + index column.class
A mapping model object representing a collection of typeList
.Modifier and TypeMethodDescriptionboolean
Collection.isSame
(Collection other) boolean
IdentifierCollection.isSame
(Collection other) boolean
IndexedCollection.isSame
(Collection other) ModifierConstructorDescriptionprotected
Collection
(Collection original) Component
(MetadataBuildingContext metadata, Collection collection) -
Uses of Collection in org.hibernate.metamodel.mapping.internal
Modifier 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) void
PluralAttributeMappingImpl.finishInitialization
(Property bootProperty, Collection bootDescriptor, MappingModelCreationProcess creationProcess) ModifierConstructorDescriptionAbstractEntityCollectionPart
(CollectionPart.Nature nature, Collection collectionBootDescriptor, CollectionPersister collectionDescriptor, EntityMappingType associatedEntityTypeDescriptor, NotFoundAction notFoundAction, MappingModelCreationProcess creationProcess) 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 Collection in org.hibernate.persister.collection
ModifierConstructorDescriptionAbstractCollectionPersister
(Collection collectionBootDescriptor, @Nullable CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext) AbstractCollectionPersister
(Collection collectionBootDescriptor, @Nullable CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext) Deprecated.BasicCollectionPersister
(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext) BasicCollectionPersister
(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext) Deprecated.OneToManyPersister
(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext) OneToManyPersister
(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext) Deprecated. -
Uses of Collection in org.hibernate.persister.internal
Modifier and TypeMethodDescriptionPersisterFactoryImpl.createCollectionPersister
(Collection collectionBinding, @Nullable CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext) PersisterFactoryImpl.createCollectionPersister
(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext) Class<? extends CollectionPersister>
StandardPersisterClassResolver.getCollectionPersisterClass
(Collection metadata) -
Uses of Collection in org.hibernate.persister.spi
Modifier and TypeMethodDescriptiondefault CollectionPersister
PersisterFactory.createCollectionPersister
(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext) Create a collection persister instance.PersisterFactory.createCollectionPersister
(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext) Deprecated.Class<? 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.
PersisterFactory.createCollectionPersister(Collection, CollectionDataAccess, RuntimeModelCreationContext)
instead