Package | Description |
---|---|
org.hibernate.boot |
This package contains the contracts that make up the Hibernate native
bootstrapping API (building a SessionFactory).
|
org.hibernate.boot.internal | |
org.hibernate.boot.model.source.internal.hbm | |
org.hibernate.boot.spi | |
org.hibernate.bytecode.enhance.spi.interceptor |
interceptor implementations
|
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 | |
org.hibernate.envers.configuration.internal.metadata | |
org.hibernate.envers.configuration.internal.metadata.reader | |
org.hibernate.hql.spi.id |
Support for multi-table update and delete statements via id-tables.
|
org.hibernate.hql.spi.id.global | |
org.hibernate.hql.spi.id.local | |
org.hibernate.hql.spi.id.persistent |
Package contains an implementation of MultiTableBulkIdStrategy based on the use
of a persistent (ANSI SQL term) table to hold id values.
|
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.jpa.internal.metamodel | |
org.hibernate.mapping |
This package defines the Hibernate configuration-time metamodel.
|
org.hibernate.persister.entity |
This package abstracts persistence mechanisms for
entities, and defines the Hibernate runtime
metamodel.
|
org.hibernate.persister.internal | |
org.hibernate.persister.spi | |
org.hibernate.tuple |
This package defines a runtime metamodel for entities at
the object level and abstracts the differences between
the various entity modes.
|
org.hibernate.tuple.entity |
Modifier and Type | Method and Description |
---|---|
PersistentClass |
Metadata.getEntityBinding(String entityName)
Retrieves the PersistentClass entity mapping metadata representation for
the given entity name.
|
Modifier and Type | Method and Description |
---|---|
Collection<PersistentClass> |
Metadata.getEntityBindings()
Retrieves the PersistentClass entity metadata representation for known all entities.
|
Modifier and Type | Method and Description |
---|---|
PersistentClass |
MetadataImpl.getEntityBinding(String entityName) |
PersistentClass |
InFlightMetadataCollectorImpl.getEntityBinding(String entityName) |
Modifier and Type | Method and Description |
---|---|
Map<String,PersistentClass> |
InFlightMetadataCollectorImpl.getEntityBindingMap() |
Collection<PersistentClass> |
MetadataImpl.getEntityBindings() |
Collection<PersistentClass> |
InFlightMetadataCollectorImpl.getEntityBindings() |
Modifier and Type | Method and Description |
---|---|
void |
InFlightMetadataCollectorImpl.addEntityBinding(PersistentClass persistentClass) |
Modifier and Type | Method and Description |
---|---|
PersistentClass |
MappingDocument.findEntityBinding(String entityName,
String clazz) |
PersistentClass |
HbmLocalMetadataBuildingContext.findEntityBinding(String entityName,
String clazz) |
Modifier and Type | Method and Description |
---|---|
PersistentClass |
AbstractDelegatingMetadata.getEntityBinding(String entityName) |
Modifier and Type | Method and Description |
---|---|
Map<String,PersistentClass> |
InFlightMetadataCollector.getEntityBindingMap()
Needed for SecondPass handling
|
Collection<PersistentClass> |
AbstractDelegatingMetadata.getEntityBindings() |
Modifier and Type | Method and Description |
---|---|
void |
InFlightMetadataCollector.addEntityBinding(PersistentClass persistentClass)
Add the PersistentClass for an entity mapping.
|
Modifier and Type | Method and Description |
---|---|
static LazyAttributesMetadata |
LazyAttributesMetadata.from(PersistentClass mappedEntity)
Build a LazyFetchGroupMetadata based on the attributes defined for the
PersistentClass
|
Modifier and Type | Method and Description |
---|---|
static CacheDataDescriptionImpl |
CacheDataDescriptionImpl.decode(PersistentClass model)
Builds a CacheDataDescriptionImpl from the mapping model of an entity class.
|
Modifier and Type | Method and Description |
---|---|
PersistentClass |
PropertyHolder.getPersistentClass() |
PersistentClass |
ComponentPropertyHolder.getPersistentClass() |
PersistentClass |
CollectionPropertyHolder.getPersistentClass() |
PersistentClass |
ClassPropertyHolder.getPersistentClass() |
Modifier and Type | Method and Description |
---|---|
void |
Ejb3JoinColumn.addDefaultJoinColumnName(PersistentClass referencedEntity,
String logicalReferencedColumn) |
static PropertyHolder |
PropertyHolderBuilder.buildPropertyHolder(PersistentClass persistentClass,
Map<String,Join> joins,
MetadataBuildingContext context,
Map<XClass,InheritanceState> inheritanceStatePerClass)
must only be used on second level phases (
|
static PropertyHolder |
PropertyHolderBuilder.buildPropertyHolder(XClass clazzToProcess,
PersistentClass persistentClass,
EntityBinder entityBinder,
MetadataBuildingContext context,
Map<XClass,InheritanceState> inheritanceStatePerClass) |
static int |
Ejb3JoinColumn.checkReferencedColumnsType(Ejb3JoinColumn[] columns,
PersistentClass referencedEntity,
MetadataBuildingContext context) |
void |
Ejb3JoinColumn.copyReferencedStructureAndCreateDefaultJoinColumns(PersistentClass referencedEntity,
Iterator columnIterator,
SimpleValue value) |
static void |
BinderHelper.createSyntheticPropertyReference(Ejb3JoinColumn[] columns,
PersistentClass ownerEntity,
PersistentClass associatedEntity,
Value value,
boolean inverse,
MetadataBuildingContext context) |
static Object |
BinderHelper.findColumnOwner(PersistentClass persistentClass,
String columnName,
MetadataBuildingContext context)
Find the column owner (ie PersistentClass or Join) of columnName.
|
static Property |
BinderHelper.findPropertyByName(PersistentClass associatedClass,
String propertyName)
Retrieve the property by path in a recursive way, including IndetifierProperty in the loop
If propertyName is null or empty, the IdentifierProperty is returned
|
void |
Ejb3JoinColumn.linkValueUsingDefaultColumnNaming(Column referencedColumn,
PersistentClass referencedEntity,
SimpleValue value) |
void |
Ejb3JoinColumn.setPersistentClass(PersistentClass persistentClass,
Map<String,Join> joins,
Map<XClass,InheritanceState> inheritanceStatePerClass)
Override persistent class on oneToMany Cases for late settings
Must only be used on second level pass binding
|
Constructor and Description |
---|
ClassPropertyHolder(PersistentClass persistentClass,
XClass entityXClass,
EntityBinder entityBinder,
MetadataBuildingContext context,
Map<XClass,InheritanceState> inheritanceStatePerClass) |
ClassPropertyHolder(PersistentClass persistentClass,
XClass entityXClass,
Map<String,Join> joins,
MetadataBuildingContext context,
Map<XClass,InheritanceState> inheritanceStatePerClass) |
Modifier and Type | Method and Description |
---|---|
static void |
TableBinder.bindFk(PersistentClass referencedEntity,
PersistentClass destinationEntity,
Ejb3JoinColumn[] columns,
SimpleValue value,
boolean unique,
MetadataBuildingContext buildingContext) |
static void |
CollectionBinder.bindManytoManyInverseFk(PersistentClass referencedEntity,
Ejb3JoinColumn[] columns,
SimpleValue value,
boolean unique,
MetadataBuildingContext buildingContext)
bind the inverse FK of a ManyToMany
If we are in a mappedBy case, read the columns from the associated
collection element
Otherwise delegates to the usual algorithm
|
protected Collection |
SetBinder.createCollection(PersistentClass persistentClass) |
protected Collection |
PrimitiveArrayBinder.createCollection(PersistentClass persistentClass) |
protected Collection |
MapBinder.createCollection(PersistentClass persistentClass) |
protected Collection |
ListBinder.createCollection(PersistentClass persistentClass) |
protected Collection |
IdBagBinder.createCollection(PersistentClass persistentClass) |
protected abstract Collection |
CollectionBinder.createCollection(PersistentClass persistentClass) |
protected Collection |
BagBinder.createCollection(PersistentClass persistentClass) |
protected Collection |
ArrayBinder.createCollection(PersistentClass persistentClass) |
protected Value |
MapBinder.createFormulatedValue(Value value,
Collection collection,
String targetPropertyName,
PersistentClass associatedClass,
MetadataBuildingContext buildingContext) |
static void |
TableBinder.linkJoinColumnWithValueOverridingNameIfImplicit(PersistentClass referencedEntity,
Iterator columnIterator,
Ejb3JoinColumn[] columns,
SimpleValue value) |
Constructor and Description |
---|
EntityBinder(Entity ejb3Ann,
Entity hibAnn,
XClass annotatedClass,
PersistentClass persistentClass,
MetadataBuildingContext context) |
Modifier and Type | Method and Description |
---|---|
PersistentClass |
PersistentClassGraphDefiner.getValue(String entityName) |
Modifier and Type | Method and Description |
---|---|
Collection<Map.Entry<PersistentClass,ClassAuditingData>> |
ClassesAuditingData.getAllClassAuditedData() |
List<PersistentClass> |
PersistentClassGraphDefiner.getNeighbours(PersistentClass pc) |
List<PersistentClass> |
PersistentClassGraphDefiner.getValues() |
Modifier and Type | Method and Description |
---|---|
void |
ClassesAuditingData.addClassAuditingData(PersistentClass pc,
ClassAuditingData cad)
Stores information about auditing meta-data for the given class.
|
List<PersistentClass> |
PersistentClassGraphDefiner.getNeighbours(PersistentClass pc) |
String |
PersistentClassGraphDefiner.getRepresentation(PersistentClass pc) |
Modifier and Type | Method and Description |
---|---|
void |
AuditMetadataGenerator.generateFirstPass(PersistentClass pc,
ClassAuditingData auditingData,
EntityXmlMappingData xmlMappingData,
boolean isAudited) |
void |
AuditMetadataGenerator.generateSecondPass(PersistentClass pc,
ClassAuditingData auditingData,
EntityXmlMappingData xmlMappingData) |
static InheritanceType |
InheritanceType.get(PersistentClass pc) |
Constructor and Description |
---|
AnnotationsMetadataReader(GlobalConfiguration globalCfg,
ReflectionManager reflectionManager,
PersistentClass pc) |
Modifier and Type | Method and Description |
---|---|
protected abstract TT |
AbstractMultiTableBulkIdStrategyImpl.buildIdTableInfo(PersistentClass entityBinding,
Table idTable,
JdbcServices jdbcServices,
MetadataImplementor metadata,
CT context) |
protected QualifiedTableName |
AbstractMultiTableBulkIdStrategyImpl.determineIdTableName(JdbcEnvironment jdbcEnvironment,
PersistentClass entityBinding) |
boolean |
IdTableHelper.needsIdTable(PersistentClass entityBinding) |
Modifier and Type | Method and Description |
---|---|
protected org.hibernate.hql.spi.id.global.IdTableInfoImpl |
GlobalTemporaryTableBulkIdStrategy.buildIdTableInfo(PersistentClass entityBinding,
Table idTable,
JdbcServices jdbcServices,
MetadataImplementor metadata,
org.hibernate.hql.spi.id.global.PreparationContextImpl context) |
Modifier and Type | Method and Description |
---|---|
protected IdTableInfoImpl |
LocalTemporaryTableBulkIdStrategy.buildIdTableInfo(PersistentClass entityBinding,
Table idTable,
JdbcServices jdbcServices,
MetadataImplementor metadata,
AbstractMultiTableBulkIdStrategyImpl.PreparationContext context) |
Modifier and Type | Method and Description |
---|---|
protected org.hibernate.hql.spi.id.persistent.IdTableInfoImpl |
PersistentTableBulkIdStrategy.buildIdTableInfo(PersistentClass entityBinding,
Table idTable,
JdbcServices jdbcServices,
MetadataImplementor metadata,
org.hibernate.hql.spi.id.persistent.PreparationContextImpl context) |
protected QualifiedTableName |
PersistentTableBulkIdStrategy.determineIdTableName(JdbcEnvironment jdbcEnvironment,
PersistentClass entityBinding) |
Constructor and Description |
---|
FilterConfiguration(String name,
String condition,
boolean autoAliasInjection,
Map<String,String> aliasTableMap,
Map<String,String> aliasEntityMap,
PersistentClass persistentClass) |
Modifier and Type | Method and Description |
---|---|
static MetamodelImpl |
MetamodelImpl.buildMetamodel(Iterator<PersistentClass> persistentClasses,
SessionFactoryImplementor sessionFactory)
Deprecated.
|
static MetamodelImpl |
MetamodelImpl.buildMetamodel(Iterator<PersistentClass> persistentClasses,
Set<MappedSuperclass> mappedSuperclasses,
SessionFactoryImplementor sessionFactory,
boolean ignoreUnsupported)
Build the metamodel using the information from the collection of Hibernate
PersistentClass models as well as the Hibernate SessionFactory . |
Constructor and Description |
---|
EntityTypeImpl(Class javaType,
AbstractIdentifiableType<? super X> superType,
PersistentClass persistentClass) |
Modifier and Type | Class and Description |
---|---|
class |
JoinedSubclass
A subclass in a table-per-subclass mapping
|
class |
RootClass
The root class of an inheritance hierarchy
|
class |
SingleTableSubclass |
class |
Subclass
A sublass in a table-per-class-hierarchy mapping
|
class |
UnionSubclass
A subclass in a table-per-concrete-class mapping
|
Modifier and Type | Method and Description |
---|---|
PersistentClass |
OneToMany.getAssociatedClass() |
PersistentClass |
Component.getOwner() |
PersistentClass |
Collection.getOwner() |
PersistentClass |
Property.getPersistentClass() |
PersistentClass |
Join.getPersistentClass() |
PersistentClass |
Subclass.getSuperclass() |
PersistentClass |
RootClass.getSuperclass() |
abstract PersistentClass |
PersistentClass.getSuperclass() |
PersistentClass |
MappedSuperclass.getSuperPersistentClass()
Returns the PersistentClass of the first superclass marked as @Entity
or null if none exists
|
Modifier and Type | Method and Description |
---|---|
void |
OneToMany.setAssociatedClass(PersistentClass associatedClass)
Associated entity on the many side
|
void |
Component.setOwner(PersistentClass owner) |
void |
Collection.setOwner(PersistentClass owner)
Deprecated.
Inject the owner into constructor.
|
void |
Property.setPersistentClass(PersistentClass persistentClass) |
void |
Join.setPersistentClass(PersistentClass persistentClass) |
void |
Subclass.setSuperclass(PersistentClass superclass) |
Modifier and Type | Method and Description |
---|---|
protected String |
UnionSubclassEntityPersister.generateSubquery(PersistentClass model,
Mapping mapping) |
protected void |
AbstractEntityPersister.initSubclassPropertyAliasesMap(PersistentClass model)
Must be called by subclasses, at the end of their constructors
|
Constructor and Description |
---|
AbstractEntityPersister(PersistentClass persistentClass,
EntityRegionAccessStrategy cacheAccessStrategy,
NaturalIdRegionAccessStrategy naturalIdRegionAccessStrategy,
PersisterCreationContext creationContext) |
JoinedSubclassEntityPersister(PersistentClass persistentClass,
EntityRegionAccessStrategy cacheAccessStrategy,
NaturalIdRegionAccessStrategy naturalIdRegionAccessStrategy,
PersisterCreationContext creationContext) |
SingleTableEntityPersister(PersistentClass persistentClass,
EntityRegionAccessStrategy cacheAccessStrategy,
NaturalIdRegionAccessStrategy naturalIdRegionAccessStrategy,
PersisterCreationContext creationContext) |
UnionSubclassEntityPersister(PersistentClass persistentClass,
EntityRegionAccessStrategy cacheAccessStrategy,
NaturalIdRegionAccessStrategy naturalIdRegionAccessStrategy,
PersisterCreationContext creationContext) |
Modifier and Type | Method and Description |
---|---|
EntityPersister |
PersisterFactoryImpl.createEntityPersister(PersistentClass entityBinding,
EntityRegionAccessStrategy entityCacheAccessStrategy,
NaturalIdRegionAccessStrategy naturalIdCacheAccessStrategy,
PersisterCreationContext creationContext) |
Class<? extends EntityPersister> |
StandardPersisterClassResolver.getEntityPersisterClass(PersistentClass metadata) |
Modifier and Type | Method and Description |
---|---|
EntityPersister |
PersisterFactory.createEntityPersister(PersistentClass entityBinding,
EntityRegionAccessStrategy entityCacheAccessStrategy,
NaturalIdRegionAccessStrategy naturalIdCacheAccessStrategy,
PersisterCreationContext creationContext)
Create an entity persister instance.
|
Class<? extends EntityPersister> |
PersisterClassResolver.getEntityPersisterClass(PersistentClass metadata)
Returns the entity persister class for a given entityName or null
if the entity persister class should be the default.
|
Modifier and Type | Method and Description |
---|---|
static IdentifierProperty |
PropertyFactory.buildIdentifierAttribute(PersistentClass mappedEntity,
IdentifierGenerator generator)
Generates the attribute representation of the identifier for a given entity mapping.
|
Constructor and Description |
---|
DynamicMapInstantiator(PersistentClass mappingInfo) |
Modifier and Type | Method and Description |
---|---|
protected Instantiator |
PojoEntityTuplizer.buildInstantiator(EntityMetamodel entityMetamodel,
PersistentClass persistentClass) |
protected Instantiator |
DynamicMapEntityTuplizer.buildInstantiator(EntityMetamodel entityMetamodel,
PersistentClass mappingInfo) |
protected abstract Instantiator |
AbstractEntityTuplizer.buildInstantiator(EntityMetamodel entityMetamodel,
PersistentClass mappingInfo)
Build an appropriate Instantiator for the given mapped entity.
|
protected Getter |
PojoEntityTuplizer.buildPropertyGetter(Property mappedProperty,
PersistentClass mappedEntity) |
protected Getter |
DynamicMapEntityTuplizer.buildPropertyGetter(Property mappedProperty,
PersistentClass mappedEntity) |
protected abstract Getter |
AbstractEntityTuplizer.buildPropertyGetter(Property mappedProperty,
PersistentClass mappedEntity)
Build an appropriate Getter for the given property.
|
protected Setter |
PojoEntityTuplizer.buildPropertySetter(Property mappedProperty,
PersistentClass mappedEntity) |
protected Setter |
DynamicMapEntityTuplizer.buildPropertySetter(Property mappedProperty,
PersistentClass mappedEntity) |
protected abstract Setter |
AbstractEntityTuplizer.buildPropertySetter(Property mappedProperty,
PersistentClass mappedEntity)
Build an appropriate Setter for the given property.
|
protected ProxyFactory |
PojoEntityTuplizer.buildProxyFactory(PersistentClass persistentClass,
Getter idGetter,
Setter idSetter) |
protected ProxyFactory |
DynamicMapEntityTuplizer.buildProxyFactory(PersistentClass mappingInfo,
Getter idGetter,
Setter idSetter) |
protected abstract ProxyFactory |
AbstractEntityTuplizer.buildProxyFactory(PersistentClass mappingInfo,
Getter idGetter,
Setter idSetter)
Build an appropriate ProxyFactory for the given mapped entity.
|
protected ProxyFactory |
PojoEntityTuplizer.buildProxyFactoryInternal(PersistentClass persistentClass,
Getter idGetter,
Setter idSetter) |
EntityTuplizer |
EntityTuplizerFactory.constructDefaultTuplizer(EntityMode entityMode,
EntityMetamodel metamodel,
PersistentClass persistentClass)
Construct am instance of the default tuplizer for the given entity-mode.
|
EntityTuplizer |
EntityTuplizerFactory.constructTuplizer(Class<? extends EntityTuplizer> tuplizerClass,
EntityMetamodel metamodel,
PersistentClass persistentClass)
Construct an instance of the given tuplizer class.
|
EntityTuplizer |
EntityTuplizerFactory.constructTuplizer(String tuplizerClassName,
EntityMetamodel metamodel,
PersistentClass persistentClass)
Construct an instance of the given tuplizer class.
|
static BytecodeEnhancementMetadata |
BytecodeEnhancementMetadataPojoImpl.from(PersistentClass persistentClass) |
Constructor and Description |
---|
AbstractEntityTuplizer(EntityMetamodel entityMetamodel,
PersistentClass mappingInfo)
Constructs a new AbstractEntityTuplizer instance.
|
EntityMetamodel(PersistentClass persistentClass,
AbstractEntityPersister persister,
SessionFactoryImplementor sessionFactory) |
PojoEntityInstantiator(EntityMetamodel entityMetamodel,
PersistentClass persistentClass,
ReflectionOptimizer.InstantiationOptimizer optimizer) |
PojoEntityTuplizer(EntityMetamodel entityMetamodel,
PersistentClass mappedEntity) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.