Package | Description |
---|---|
org.hibernate.boot |
This package contains the contracts that make up the Hibernate native
bootstrapping API (building a SessionFactory).
|
org.hibernate.boot.spi | |
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.mapping |
This package defines the Hibernate configuration-time metamodel.
|
org.hibernate.persister.collection |
This package abstracts the persistence mechanism for collections.
|
org.hibernate.persister.spi |
Modifier and Type | Method and Description |
---|---|
Collection |
Metadata.getCollectionBinding(String role)
Retrieves the collection mapping metadata for the given collection role.
|
Modifier and Type | Method and Description |
---|---|
Collection<Collection> |
Metadata.getCollectionBindings()
Retrieves the Collection metadata representation for all known collections.
|
Modifier and Type | Method and Description |
---|---|
Collection |
AbstractDelegatingMetadata.getCollectionBinding(String role) |
Modifier and Type | Method and Description |
---|---|
Collection<Collection> |
AbstractDelegatingMetadata.getCollectionBindings() |
Modifier and Type | Method and Description |
---|---|
void |
InFlightMetadataCollector.addCollectionBinding(Collection collection)
Add collection mapping metadata to this repository.
|
Modifier and Type | Method and Description |
---|---|
Collection |
CollectionPropertyHolder.getCollectionBinding() |
Modifier and Type | Method and Description |
---|---|
static 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 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,
MetadataBuildingContext context) |
CollectionSecondPass(MetadataBuildingContext buildingContext,
Collection collection) |
CollectionSecondPass(MetadataBuildingContext buildingContext,
Collection collection,
Map inheritedMetas) |
Modifier and Type | Field and Description |
---|---|
protected Collection |
CollectionBinder.collection |
Modifier and Type | Method and Description |
---|---|
protected Collection |
MapBinder.createCollection(PersistentClass persistentClass) |
protected Collection |
SetBinder.createCollection(PersistentClass persistentClass) |
protected Collection |
PrimitiveArrayBinder.createCollection(PersistentClass persistentClass) |
protected Collection |
IdBagBinder.createCollection(PersistentClass persistentClass) |
protected Collection |
ArrayBinder.createCollection(PersistentClass persistentClass) |
protected abstract Collection |
CollectionBinder.createCollection(PersistentClass persistentClass) |
protected Collection |
ListBinder.createCollection(PersistentClass persistentClass) |
protected Collection |
BagBinder.createCollection(PersistentClass persistentClass) |
Collection |
CollectionBinder.getCollection() |
Modifier and Type | Method and Description |
---|---|
protected void |
CollectionBinder.bindOneToManySecondPass(Collection collection,
Map<String,PersistentClass> persistentClasses,
Ejb3JoinColumn[] fkJoinColumns,
org.hibernate.annotations.common.reflection.XClass collectionType,
boolean cascadeDeleteEnabled,
boolean ignoreNotFound,
MetadataBuildingContext buildingContext,
Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass) |
protected Value |
MapBinder.createFormulatedValue(Value value,
Collection collection,
String targetPropertyName,
PersistentClass associatedClass,
PersistentClass targetPropertyPersistentClass,
MetadataBuildingContext buildingContext) |
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IndexedCollection.isSame(Collection other) |
boolean |
Collection.isSame(Collection other) |
boolean |
IdentifierCollection.isSame(Collection other) |
Constructor and Description |
---|
Component(MetadataBuildingContext metadata,
Collection collection) |
Component(MetadataImplementor metadata,
Collection collection)
Deprecated.
User
Component.Component(MetadataBuildingContext, Collection) instead. |
Constructor and Description |
---|
AbstractCollectionPersister(Collection collectionBinding,
CollectionDataAccess cacheAccessStrategy,
PersisterCreationContext creationContext) |
BasicCollectionPersister(Collection collectionBinding,
CollectionDataAccess cacheAccessStrategy,
PersisterCreationContext creationContext) |
OneToManyPersister(Collection collectionBinding,
CollectionDataAccess cacheAccessStrategy,
PersisterCreationContext creationContext) |
Modifier and Type | Method and Description |
---|---|
CollectionPersister |
PersisterFactory.createCollectionPersister(Collection collectionBinding,
CollectionDataAccess cacheAccessStrategy,
PersisterCreationContext creationContext)
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-2021 Red Hat, Inc. All Rights Reserved.