Package | Description |
---|---|
org.hibernate.cache.internal |
Internal implementations and support for second-level caching.
|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.cfg.annotations | |
org.hibernate.envers.configuration.internal.metadata | |
org.hibernate.mapping |
This package defines the Hibernate configuration-time metamodel.
|
org.hibernate.persister.collection |
This package abstracts the persistence mechanism for collections.
|
org.hibernate.persister.internal | |
org.hibernate.persister.spi |
Modifier and Type | Method and Description |
---|---|
static CacheDataDescriptionImpl |
CacheDataDescriptionImpl.decode(Collection model)
Builds a CacheDataDescriptionImpl from the mapping model of a collection
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,Collection> |
Configuration.collections |
Modifier and Type | Method and Description |
---|---|
Collection |
Configuration.MappingsImpl.getCollection(String role) |
Collection |
Mappings.getCollection(String role)
Retrieves the collection mapping metadata for the given collection role.
|
Collection |
Configuration.getCollectionMapping(String role)
Get the mapping for a particular collection role
|
Modifier and Type | Method and Description |
---|---|
Iterator<Collection> |
Configuration.MappingsImpl.iterateCollections() |
Iterator<Collection> |
Mappings.iterateCollections()
Returns an iterator over collection metadata.
|
Modifier and Type | Method and Description |
---|---|
void |
Configuration.MappingsImpl.addCollection(Collection collection) |
void |
Mappings.addCollection(Collection collection)
Add collection mapping metadata to this repository.
|
static void |
HbmBinder.bindCollection(org.dom4j.Element node,
Collection collection,
String className,
String path,
Mappings mappings,
Map inheritedMetas)
Called for all collections
|
static void |
HbmBinder.bindCollectionSecondPass(org.dom4j.Element node,
Collection collection,
Map persistentClasses,
Mappings mappings,
Map inheritedMetas)
Called for all collections
|
static CollectionPropertyHolder |
PropertyHolderBuilder.buildPropertyHolder(Collection collection,
String path,
org.hibernate.annotations.common.reflection.XClass clazzToProcess,
org.hibernate.annotations.common.reflection.XProperty property,
PropertyHolder parentPropertyHolder,
Mappings mappings)
buid a property holder on top of a collection
|
Constructor and Description |
---|
CollectionPropertyHolder(Collection collection,
String path,
org.hibernate.annotations.common.reflection.XClass clazzToProcess,
org.hibernate.annotations.common.reflection.XProperty property,
PropertyHolder parentPropertyHolder,
Mappings mappings) |
CollectionSecondPass(Mappings mappings,
Collection collection) |
CollectionSecondPass(Mappings mappings,
Collection collection,
Map inheritedMetas) |
Modifier and Type | Field and Description |
---|---|
protected Collection |
CollectionBinder.collection |
Modifier and Type | Method and Description |
---|---|
protected abstract Collection |
CollectionBinder.createCollection(PersistentClass persistentClass) |
protected Collection |
SetBinder.createCollection(PersistentClass persistentClass) |
protected Collection |
MapBinder.createCollection(PersistentClass persistentClass) |
protected Collection |
IdBagBinder.createCollection(PersistentClass persistentClass) |
protected Collection |
BagBinder.createCollection(PersistentClass persistentClass) |
protected Collection |
ListBinder.createCollection(PersistentClass persistentClass) |
protected Collection |
ArrayBinder.createCollection(PersistentClass persistentClass) |
protected Collection |
PrimitiveArrayBinder.createCollection(PersistentClass persistentClass) |
Collection |
CollectionBinder.getCollection() |
Modifier and Type | Method and Description |
---|---|
protected void |
CollectionBinder.bindManyToManySecondPass(Collection collValue,
Map persistentClasses,
Ejb3JoinColumn[] joinColumns,
Ejb3JoinColumn[] inverseJoinColumns,
Ejb3Column[] elementColumns,
boolean isEmbedded,
org.hibernate.annotations.common.reflection.XClass collType,
boolean ignoreNotFound,
boolean unique,
boolean cascadeDeleteEnabled,
TableBinder associationTableBinder,
org.hibernate.annotations.common.reflection.XProperty property,
PropertyHolder parentPropertyHolder,
Mappings mappings) |
protected void |
CollectionBinder.bindOneToManySecondPass(Collection collection,
Map persistentClasses,
Ejb3JoinColumn[] fkJoinColumns,
org.hibernate.annotations.common.reflection.XClass collectionType,
boolean cascadeDeleteEnabled,
boolean ignoreNotFound,
Mappings mappings,
Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass) |
protected Value |
MapBinder.createFormulatedValue(Value value,
Collection collection,
String targetPropertyName,
PersistentClass associatedClass,
Mappings mappings) |
Constructor and Description |
---|
CollectionMetadataGenerator(AuditMetadataGenerator mainGenerator,
Collection propertyValue,
CompositeMapperBuilder currentMapper,
String referencingEntityName,
EntityXmlMappingData xmlMappingData,
PropertyAuditingData propertyAuditingData) |
Modifier and Type | Class and Description |
---|---|
class |
Array
An array mapping has a primary key consisting of the key columns + index column.
|
class |
Bag
A bag permits duplicates, so it has no primary key
|
class |
IdentifierBag
An IdentifierBag has a primary key consisting of
just the identifier column
|
class |
IdentifierCollection
A collection with a synthetic "identifier" column
|
class |
IndexedCollection
Indexed collections include Lists, Maps, arrays and
primitive arrays.
|
class |
List
A list mapping has a primary key consisting of the key columns + index column.
|
class |
Map
A map has a primary key consisting of
the key columns + index columns.
|
class |
PrimitiveArray
A primitive array has a primary key consisting of the key columns + index column.
|
class |
Set
A set with no nullable element columns.
|
Constructor and Description |
---|
Component(Mappings mappings,
Collection collection) |
Constructor and Description |
---|
AbstractCollectionPersister(Collection collection,
CollectionRegionAccessStrategy cacheAccessStrategy,
Configuration cfg,
SessionFactoryImplementor factory) |
BasicCollectionPersister(Collection collection,
CollectionRegionAccessStrategy cacheAccessStrategy,
Configuration cfg,
SessionFactoryImplementor factory) |
OneToManyPersister(Collection collection,
CollectionRegionAccessStrategy cacheAccessStrategy,
Configuration cfg,
SessionFactoryImplementor factory) |
Modifier and Type | Method and Description |
---|---|
CollectionPersister |
PersisterFactoryImpl.createCollectionPersister(Configuration cfg,
Collection collectionMetadata,
CollectionRegionAccessStrategy cacheAccessStrategy,
SessionFactoryImplementor factory) |
Class<? extends CollectionPersister> |
StandardPersisterClassResolver.getCollectionPersisterClass(Collection metadata) |
Modifier and Type | Method and Description |
---|---|
CollectionPersister |
PersisterFactory.createCollectionPersister(Configuration cfg,
Collection model,
CollectionRegionAccessStrategy cacheAccessStrategy,
SessionFactoryImplementor factory)
Create a collection persister instance.
|
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.
|
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.