Uses of Class
org.hibernate.mapping.PersistentClass
-
Packages that use PersistentClass Package Description org.hibernate.binder This package defines an easy way to extend Hibernate with user-defined annotations that define customized O/R mappings of annotated entities and annotated entity attributes.org.hibernate.binder.internal Built-in implementations ofAttributeBinder
andTypeBinder
.org.hibernate.boot This package contains the interfaces that make up the bootstrap API for Hibernate.org.hibernate.boot.internal org.hibernate.boot.model.internal org.hibernate.boot.model.source.internal.hbm org.hibernate.boot.spi A range of SPIs allowing integration with—and customization of—the process of building metadata.org.hibernate.bytecode.enhance.spi.interceptor Support for bytecode interceptor implementations.org.hibernate.bytecode.internal org.hibernate.cache.cfg.internal Implementation of the second-level cache configuration SPI.org.hibernate.envers.boot.model org.hibernate.envers.configuration.internal org.hibernate.envers.configuration.internal.metadata org.hibernate.envers.configuration.internal.metadata.reader org.hibernate.generator This package defines an abstraction over all kinds of automatic value generation, including id generation and version number generation.org.hibernate.internal An internal package containing implementations of central Hibernate APIs, mostly defined inorg.hibernate
.org.hibernate.jpa.event.internal Internal details of implementing support for JPA callbacksorg.hibernate.mapping This package defines the Hibernate configuration-time mapping model.org.hibernate.metamodel.internal org.hibernate.metamodel.mapping.internal org.hibernate.metamodel.model.domain.internal Implementation of the SPI for the runtime domain metamodel.org.hibernate.metamodel.spi An SPI supporting custom instantiation of entity instances and embeddable objects.org.hibernate.persister.entity This package abstracts persistence mechanisms for entities.org.hibernate.persister.internal Built-in implementation of the SPI for integrating entity and collection persisters.org.hibernate.persister.spi An SPI for integrating custom entity and collection persisters.org.hibernate.proxy.pojo Proxies for plain Java objects.org.hibernate.testing.orm.junit org.hibernate.tuple Most contracts here have been replaced by the new runtime mapping model.org.hibernate.tuple.entity -
-
Uses of PersistentClass in org.hibernate.binder
Methods in org.hibernate.binder with parameters of type PersistentClass Modifier and Type Method Description void
AttributeBinder. bind(A annotation, MetadataBuildingContext buildingContext, PersistentClass persistentClass, Property property)
Perform some custom configuration of the model relating to the given annotatedProperty
of the given entity class or embeddable class.void
TypeBinder. bind(A annotation, MetadataBuildingContext buildingContext, PersistentClass persistentClass)
Perform some custom configuration of the model relating to the given annotated entity class. -
Uses of PersistentClass in org.hibernate.binder.internal
Methods in org.hibernate.binder.internal with parameters of type PersistentClass Modifier and Type Method Description void
AttributeAccessorBinder. bind(AttributeAccessor accessor, MetadataBuildingContext buildingContext, PersistentClass persistentClass, Property property)
void
BatchSizeBinder. bind(BatchSize batchSize, MetadataBuildingContext context, PersistentClass persistentClass)
void
BatchSizeBinder. bind(BatchSize batchSize, MetadataBuildingContext context, PersistentClass persistentClass, Property property)
void
CollateBinder. bind(Collate collate, MetadataBuildingContext context, PersistentClass entity, Property property)
void
CommentBinder. bind(Comment comment, MetadataBuildingContext context, PersistentClass entity)
void
CommentBinder. bind(Comment comment, MetadataBuildingContext context, PersistentClass entity, Property property)
void
CommentsBinder. bind(Comments comments, MetadataBuildingContext context, PersistentClass entity)
void
CommentsBinder. bind(Comments comments, MetadataBuildingContext context, PersistentClass entity, Property property)
void
DiscriminatorOptionsBinder. bind(DiscriminatorOptions options, MetadataBuildingContext context, PersistentClass persistentClass)
void
TenantIdBinder. bind(TenantId tenantId, MetadataBuildingContext buildingContext, PersistentClass persistentClass, Property property)
-
Uses of PersistentClass in org.hibernate.boot
Methods in org.hibernate.boot that return PersistentClass Modifier and Type Method Description PersistentClass
Metadata. getEntityBinding(String entityName)
Retrieves the PersistentClass entity mapping metadata representation for the given entity name.Methods in org.hibernate.boot that return types with arguments of type PersistentClass Modifier and Type Method Description Collection<PersistentClass>
Metadata. getEntityBindings()
Retrieves the PersistentClass entity metadata representation for all known entities. -
Uses of PersistentClass in org.hibernate.boot.internal
Methods in org.hibernate.boot.internal that return PersistentClass Modifier and Type Method Description PersistentClass
InFlightMetadataCollectorImpl. getEntityBinding(String entityName)
PersistentClass
MetadataImpl. getEntityBinding(String entityName)
Methods in org.hibernate.boot.internal that return types with arguments of type PersistentClass Modifier and Type Method Description Map<String,PersistentClass>
InFlightMetadataCollectorImpl. getEntityBindingMap()
Map<String,PersistentClass>
MetadataImpl. getEntityBindingMap()
Collection<PersistentClass>
InFlightMetadataCollectorImpl. getEntityBindings()
Collection<PersistentClass>
MetadataImpl. getEntityBindings()
Methods in org.hibernate.boot.internal with parameters of type PersistentClass Modifier and Type Method Description void
InFlightMetadataCollectorImpl. addEntityBinding(PersistentClass persistentClass)
Constructor parameters in org.hibernate.boot.internal with type arguments of type PersistentClass Constructor Description MetadataImpl(UUID uuid, MetadataBuildingOptions metadataBuildingOptions, Map<String,PersistentClass> entityBindingMap, List<Component> composites, Map<Class<?>,Component> genericComponentsMap, Map<Class<?>,MappedSuperclass> mappedSuperclassMap, Map<String,Collection> collectionBindingMap, Map<String,TypeDefinition> typeDefinitionMap, Map<String,FilterDefinition> filterDefinitionMap, Map<String,FetchProfile> fetchProfileMap, Map<String,String> imports, Map<String,IdentifierGeneratorDefinition> idGeneratorDefinitionMap, Map<String,NamedHqlQueryDefinition> namedQueryMap, Map<String,NamedNativeQueryDefinition> namedNativeQueryMap, Map<String,NamedProcedureCallDefinition> namedProcedureCallMap, Map<String,NamedResultSetMappingDescriptor> sqlResultSetMappingMap, Map<String,NamedEntityGraphDefinition> namedEntityGraphMap, Map<String,SqmFunctionDescriptor> sqlFunctionMap, Database database, BootstrapContext bootstrapContext)
-
Uses of PersistentClass in org.hibernate.boot.model.internal
Methods in org.hibernate.boot.model.internal that return PersistentClass Modifier and Type Method Description PersistentClass
ClassPropertyHolder. getPersistentClass()
PersistentClass
CollectionPropertyHolder. getPersistentClass()
PersistentClass
ComponentPropertyHolder. getPersistentClass()
PersistentClass
EntityBinder. getPersistentClass()
PersistentClass
PropertyHolder. getPersistentClass()
Methods in org.hibernate.boot.model.internal with parameters of type PersistentClass Modifier and Type Method Description void
AnnotatedJoinColumn. addDefaultJoinColumnName(PersistentClass referencedEntity, String logicalReferencedColumn)
static void
TableBinder. bindForeignKey(PersistentClass referencedEntity, PersistentClass destinationEntity, AnnotatedJoinColumns joinColumns, SimpleValue value, boolean unique, MetadataBuildingContext buildingContext)
void
CollectionBinder. bindManyToManyInverseForeignKey(PersistentClass targetEntity, AnnotatedJoinColumns joinColumns, SimpleValue value, boolean unique)
Bind the inverse foreign key of aManyToMany
, that is, the columns specified by@JoinTable(inverseJoinColumns=...)
, which are the columns that reference the target entity of the many-to-many association.static PropertyHolder
PropertyHolderBuilder. buildPropertyHolder(org.hibernate.annotations.common.reflection.XClass clazzToProcess, PersistentClass persistentClass, EntityBinder entityBinder, MetadataBuildingContext context, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
static PropertyHolder
PropertyHolderBuilder. buildPropertyHolder(PersistentClass persistentClass, Map<String,Join> joins, MetadataBuildingContext context, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
May only be called during the second pass phase.void
AnnotatedJoinColumn. copyReferencedStructureAndCreateDefaultJoinColumns(PersistentClass referencedEntity, SimpleValue referencedValue, SimpleValue value)
protected 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)
static void
BinderHelper. createSyntheticPropertyReference(AnnotatedJoinColumns joinColumns, PersistentClass targetEntity, PersistentClass associatedEntity, Value value, String propertyName, boolean inverse, MetadataBuildingContext context)
Here we address a fundamental problem: the@JoinColumn
annotation specifies the referenced column in the target table viareferencedColumnName
, but Hibernate needs to know which property or field of the target entity class holds the value of the referenced column at the Java level.static AttributeContainer
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 IdentifierProperty in the loop If propertyName is null or empty, the IdentifierProperty is returnedstatic AttributeContainer
BinderHelper. findReferencedColumnOwner(PersistentClass persistentClass, AnnotatedJoinColumn joinColumn, MetadataBuildingContext context)
ForeignKeyType
AnnotatedJoinColumns. getReferencedColumnsType(PersistentClass referencedEntity)
Determine if the givenAnnotatedJoinColumns
represent a reference to the primary key of the givenPersistentClass
, or whether they reference some other combination of mapped columns.static void
TableBinder. linkJoinColumnWithValueOverridingNameIfImplicit(PersistentClass referencedEntity, Value value, AnnotatedJoinColumns joinColumns, SimpleValue simpleValue)
void
AnnotatedJoinColumn. linkValueUsingDefaultColumnNaming(int columnIndex, Column referencedColumn, PersistentClass referencedEntity, SimpleValue value)
void
AnnotatedJoinColumn. linkValueUsingDefaultColumnNaming(Column referencedColumn, PersistentClass referencedEntity, SimpleValue value)
InheritanceState.ElementsToProcess
InheritanceState. postProcess(PersistentClass persistenceClass, EntityBinder entityBinder)
Method parameters in org.hibernate.boot.model.internal with type arguments of type PersistentClass Modifier and Type Method Description protected void
CollectionBinder. bindOneToManySecondPass(Map<String,PersistentClass> persistentClasses)
Bind aOneToMany
association.protected boolean
CollectionBinder. bindStarToManySecondPass(Map<String,PersistentClass> persistentClasses)
return true if it's a Fk, false if it's an association tableprotected boolean
IdBagBinder. bindStarToManySecondPass(Map<String,PersistentClass> persistentClasses)
static void
BinderHelper. checkMappedByType(String mappedBy, Value targetValue, String propertyName, PropertyHolder propertyHolder, Map<String,PersistentClass> persistentClasses)
void
AggregateComponentSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
CollectionSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
CopyIdentifierComponentSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
CreateKeySecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
FetchOverrideSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
FetchSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
IdGeneratorResolverSecondPass. doSecondPass(Map<String,PersistentClass> idGeneratorDefinitionMap)
void
ImplicitToOneJoinTableSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
IndexOrUniqueKeySecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
JoinedSubclassFkSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
NullableDiscriminatorColumnSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
OneToOneSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
PkDrivenByDefaultMapsIdSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
ResultSetMappingSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
SecondaryTableFromAnnotationSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
SecondaryTableSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
SetBasicValueTypeSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
SimpleToOneFkSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
ToOneFkSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
abstract void
CollectionSecondPass. secondPass(Map<String,PersistentClass> persistentClasses)
Constructors in org.hibernate.boot.model.internal with parameters of type PersistentClass Constructor Description ClassPropertyHolder(PersistentClass persistentClass, org.hibernate.annotations.common.reflection.XClass entityXClass, Map<String,Join> joins, MetadataBuildingContext context, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
ClassPropertyHolder(PersistentClass persistentClass, org.hibernate.annotations.common.reflection.XClass entityXClass, EntityBinder entityBinder, MetadataBuildingContext context, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
EntityBinder(org.hibernate.annotations.common.reflection.XClass annotatedClass, PersistentClass persistentClass, MetadataBuildingContext context)
ToOneFkSecondPass(ToOne value, AnnotatedJoinColumns columns, boolean unique, boolean annotatedEntity, PersistentClass persistentClass, String path, MetadataBuildingContext buildingContext)
-
Uses of PersistentClass in org.hibernate.boot.model.source.internal.hbm
Methods in org.hibernate.boot.model.source.internal.hbm that return PersistentClass Modifier and Type Method Description PersistentClass
HbmLocalMetadataBuildingContext. findEntityBinding(String entityName, String clazz)
PersistentClass
MappingDocument. findEntityBinding(String entityName, String clazz)
-
Uses of PersistentClass in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi that return PersistentClass Modifier and Type Method Description PersistentClass
AbstractDelegatingMetadata. getEntityBinding(String entityName)
Methods in org.hibernate.boot.spi that return types with arguments of type PersistentClass Modifier and Type Method Description Map<String,PersistentClass>
InFlightMetadataCollector. getEntityBindingMap()
A map ofPersistentClass
by entity name.Collection<PersistentClass>
AbstractDelegatingMetadata. getEntityBindings()
Methods in org.hibernate.boot.spi with parameters of type PersistentClass Modifier and Type Method Description void
InFlightMetadataCollector. addEntityBinding(PersistentClass persistentClass)
Add thePersistentClass
for an entity mapping.Method parameters in org.hibernate.boot.spi with type arguments of type PersistentClass Modifier and Type Method Description void
SecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
Perform the operation -
Uses of PersistentClass in org.hibernate.bytecode.enhance.spi.interceptor
Methods in org.hibernate.bytecode.enhance.spi.interceptor with parameters of type PersistentClass Modifier and Type Method Description static LazyAttributesMetadata
LazyAttributesMetadata. from(PersistentClass mappedEntity, boolean isEnhanced, boolean collectionsInDefaultFetchGroupEnabled, Metadata metadata)
Build a LazyFetchGroupMetadata based on the attributes defined for the PersistentClass -
Uses of PersistentClass in org.hibernate.bytecode.internal
Methods in org.hibernate.bytecode.internal with parameters of type PersistentClass Modifier and Type Method Description static BytecodeEnhancementMetadata
BytecodeEnhancementMetadataPojoImpl. from(PersistentClass persistentClass, Set<String> identifierAttributeNames, CompositeType nonAggregatedCidMapper, boolean collectionsInDefaultFetchGroupEnabled, Metadata metadata)
Static constructor -
Uses of PersistentClass in org.hibernate.cache.cfg.internal
Methods in org.hibernate.cache.cfg.internal with parameters of type PersistentClass Modifier and Type Method Description DomainDataRegionConfigImpl.Builder
DomainDataRegionConfigImpl.Builder. addEntityConfig(PersistentClass bootEntityDescriptor, AccessType accessType)
-
Uses of PersistentClass in org.hibernate.envers.boot.model
Methods in org.hibernate.envers.boot.model that return PersistentClass Modifier and Type Method Description protected PersistentClass
PersistentEntity. getPersistentClass()
Constructors in org.hibernate.envers.boot.model with parameters of type PersistentClass Constructor Description DiscriminatorPersistentEntity(AuditTableData auditTableData, PersistentClass persistentClass)
JoinedSubclassPersistentEntity(AuditTableData auditTableData, PersistentClass persistentClass)
PersistentEntity(AuditTableData auditTableData, PersistentClass persistentClass)
RootPersistentEntity(AuditTableData auditTableData, PersistentClass persistentClass)
SubclassPersistentEntity(AuditTableData auditTableData, PersistentClass persistentClass)
UnionSubclassPersistentEntity(AuditTableData auditTableData, PersistentClass persistentClass)
-
Uses of PersistentClass in org.hibernate.envers.configuration.internal
Methods in org.hibernate.envers.configuration.internal that return PersistentClass Modifier and Type Method Description PersistentClass
PersistentClassGraphDefiner. getValue(String entityName)
Methods in org.hibernate.envers.configuration.internal that return types with arguments of type PersistentClass Modifier and Type Method Description List<PersistentClass>
PersistentClassGraphDefiner. getNeighbours(PersistentClass pc)
List<PersistentClass>
PersistentClassGraphDefiner. getValues()
Methods in org.hibernate.envers.configuration.internal with parameters of type PersistentClass Modifier and Type Method Description List<PersistentClass>
PersistentClassGraphDefiner. getNeighbours(PersistentClass pc)
String
PersistentClassGraphDefiner. getRepresentation(PersistentClass pc)
-
Uses of PersistentClass in org.hibernate.envers.configuration.internal.metadata
Methods in org.hibernate.envers.configuration.internal.metadata with parameters of type PersistentClass Modifier and Type Method Description IdMappingData
IdMetadataGenerator. addIdAndGetMappingData(PersistentClass persistentClass, boolean audited)
void
IdMetadataGenerator. generateSecondPass(String entityName, PersistentClass persistentClass)
static InheritanceType
InheritanceType. get(PersistentClass pc)
PersistentEntity
PersistentEntityInstantiator. instantiate(PersistentClass persistentClass, AuditTableData auditTableData)
static String
CollectionMappedByResolver. resolveMappedBy(Table collectionTable, PersistentClass referencedClass, PropertyAuditingData propertyAuditingData)
-
Uses of PersistentClass in org.hibernate.envers.configuration.internal.metadata.reader
Methods in org.hibernate.envers.configuration.internal.metadata.reader that return PersistentClass Modifier and Type Method Description PersistentClass
ClassAuditingData. getPersistentClass()
Methods in org.hibernate.envers.configuration.internal.metadata.reader with parameters of type PersistentClass Modifier and Type Method Description static PersistentPropertiesSource
PersistentPropertiesSource. forClass(PersistentClass persistentClass, org.hibernate.annotations.common.reflection.XClass clazz)
Get a persistent properties source for a persistent class.ClassAuditingData
AnnotationsMetadataReader. getAuditData(PersistentClass persistentClass)
Constructors in org.hibernate.envers.configuration.internal.metadata.reader with parameters of type PersistentClass Constructor Description ClassAuditingData(PersistentClass persistentClass)
-
Uses of PersistentClass in org.hibernate.generator
Methods in org.hibernate.generator that return PersistentClass Modifier and Type Method Description PersistentClass
GeneratorCreationContext. getPersistentClass()
-
Uses of PersistentClass in org.hibernate.internal
Constructors in org.hibernate.internal with parameters of type PersistentClass Constructor Description FilterConfiguration(String name, String condition, boolean autoAliasInjection, Map<String,String> aliasTableMap, Map<String,String> aliasEntityMap, PersistentClass persistentClass)
-
Uses of PersistentClass in org.hibernate.jpa.event.internal
Method parameters in org.hibernate.jpa.event.internal with type arguments of type PersistentClass Modifier and Type Method Description static CallbackRegistry
CallbacksFactory. buildCallbackRegistry(SessionFactoryOptions options, ServiceRegistry serviceRegistry, Collection<PersistentClass> entityBindings)
-
Uses of PersistentClass in org.hibernate.mapping
Subclasses of PersistentClass in org.hibernate.mapping Modifier and Type Class Description class
JoinedSubclass
A mapping model object that represents a subclass in a "joined" or "table per subclass" inheritance hierarchy.class
RootClass
A mapping model object that represents the root class in an entity class inheritance hierarchy.class
SingleTableSubclass
A mapping model object that represents a subclass in a single table inheritance hierarchy.class
Subclass
A mapping model object that represents a subclass in an entity class inheritance hierarchy.class
UnionSubclass
A mapping model object that represents a subclass in a "union" or "table per concrete class" inheritance hierarchy.Methods in org.hibernate.mapping that return PersistentClass Modifier and Type Method Description PersistentClass
OneToMany. getAssociatedClass()
PersistentClass
Collection. getOwner()
PersistentClass
Component. getOwner()
PersistentClass
Join. getPersistentClass()
PersistentClass
Property. getPersistentClass()
abstract PersistentClass
PersistentClass. getSuperclass()
PersistentClass
RootClass. getSuperclass()
PersistentClass
Subclass. getSuperclass()
PersistentClass
MappedSuperclass. getSuperPersistentClass()
Returns the PersistentClass of the first superclass marked as @Entity or null if none existsPersistentClass
PersistentClass. getSuperPersistentClass()
PersistentClass
ForeignKey. resolveReferencedClass(Metadata metadata)
Methods in org.hibernate.mapping that return types with arguments of type PersistentClass Modifier and Type Method Description List<PersistentClass>
PersistentClass. getSubclassClosure()
Methods in org.hibernate.mapping with parameters of type PersistentClass Modifier and Type Method Description void
SimpleValue. createForeignKey(PersistentClass referencedEntity, AnnotatedJoinColumns joinColumns)
void
ToOne. createForeignKey(PersistentClass referencedEntity, AnnotatedJoinColumns joinColumns)
void
OneToMany. setAssociatedClass(PersistentClass associatedClass)
Associated entity on the many sidevoid
Component. setOwner(PersistentClass owner)
void
Join. setPersistentClass(PersistentClass persistentClass)
void
Property. setPersistentClass(PersistentClass persistentClass)
void
Subclass. setSuperclass(PersistentClass superclass)
Method parameters in org.hibernate.mapping with type arguments of type PersistentClass Modifier and Type Method Description void
ManyToOne. createPropertyRefConstraints(Map<String,PersistentClass> persistentClasses)
Creates a foreign key constraint in the case that the foreign key of this association does not reference the primary key of the referenced table, but instead some other unique key. -
Uses of PersistentClass in org.hibernate.metamodel.internal
Methods in org.hibernate.metamodel.internal that return PersistentClass Modifier and Type Method Description PersistentClass
MetadataContext. getPersistentClassHostingProperties(MappedSuperclassTypeImpl<?> mappedSuperclassType)
Methods in org.hibernate.metamodel.internal with parameters of type PersistentClass Modifier and Type Method Description EntityDomainType<?>
MetadataContext. locateEntityType(PersistentClass persistentClass)
Given a HibernatePersistentClass
, locate the corresponding JPAEntityType
implementation.void
MetadataContext. popEntityWorkedOn(PersistentClass persistentClass)
void
MetadataContext. pushEntityWorkedOn(PersistentClass persistentClass)
void
MetadataContext. registerEntityType(PersistentClass persistentClass, EntityTypeImpl<?> entityType)
EntityRepresentationStrategy
ManagedTypeRepresentationResolverStandard. resolveStrategy(PersistentClass bootDescriptor, EntityPersister runtimeDescriptor, RuntimeModelCreationContext creationContext)
Constructors in org.hibernate.metamodel.internal with parameters of type PersistentClass Constructor Description AbstractEntityInstantiatorPojo(EntityMetamodel entityMetamodel, PersistentClass persistentClass, JavaType<?> javaType)
EntityInstantiatorDynamicMap(PersistentClass bootDescriptor)
EntityInstantiatorPojoOptimized(EntityMetamodel entityMetamodel, PersistentClass persistentClass, JavaType<?> javaType, ReflectionOptimizer.InstantiationOptimizer instantiationOptimizer)
EntityInstantiatorPojoStandard(EntityMetamodel entityMetamodel, PersistentClass persistentClass, JavaType<?> javaType)
EntityRepresentationStrategyMap(PersistentClass bootType, RuntimeModelCreationContext creationContext)
EntityRepresentationStrategyPojoStandard(PersistentClass bootDescriptor, EntityPersister runtimeDescriptor, RuntimeModelCreationContext creationContext)
-
Uses of PersistentClass in org.hibernate.metamodel.mapping.internal
Methods in org.hibernate.metamodel.mapping.internal with parameters of type PersistentClass Modifier and Type Method Description static CompositeIdentifierMapping
MappingModelCreationHelper. buildNonEncapsulatedCompositeIdentifierMapping(EntityPersister entityPersister, String rootTableName, String[] rootTableKeyColumnNames, PersistentClass bootEntityDescriptor, MappingModelCreationProcess creationProcess)
-
Uses of PersistentClass in org.hibernate.metamodel.model.domain.internal
Constructors in org.hibernate.metamodel.model.domain.internal with parameters of type PersistentClass Constructor Description EntityTypeImpl(JavaType<J> javaType, IdentifiableDomainType<? super J> superType, PersistentClass persistentClass, JpaMetamodelImplementor metamodel)
-
Uses of PersistentClass in org.hibernate.metamodel.spi
Methods in org.hibernate.metamodel.spi with parameters of type PersistentClass Modifier and Type Method Description EntityRepresentationStrategy
ManagedTypeRepresentationResolver. resolveStrategy(PersistentClass bootDescriptor, EntityPersister runtimeDescriptor, RuntimeModelCreationContext creationContext)
Resolve the strategy to use for the given entity -
Uses of PersistentClass in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity with parameters of type PersistentClass Modifier and Type Method Description protected EntityDiscriminatorMapping
AbstractEntityPersister. generateDiscriminatorMapping(PersistentClass bootEntityDescriptor, MappingModelCreationProcess modelCreationProcess)
protected EntityDiscriminatorMapping
JoinedSubclassEntityPersister. generateDiscriminatorMapping(PersistentClass bootEntityDescriptor, MappingModelCreationProcess modelCreationProcess)
protected EntityDiscriminatorMapping
UnionSubclassEntityPersister. generateDiscriminatorMapping(PersistentClass bootEntityDescriptor, MappingModelCreationProcess modelCreationProcess)
protected EntityIdentifierMapping
AbstractEntityPersister. generateIdentifierMapping(Supplier<?> templateInstanceCreator, PersistentClass bootEntityDescriptor, MappingModelCreationProcess creationProcess)
protected EntityIdentifierMapping
JoinedSubclassEntityPersister. generateIdentifierMapping(Supplier<?> templateInstanceCreator, PersistentClass bootEntityDescriptor, MappingModelCreationProcess creationProcess)
protected NaturalIdMapping
AbstractEntityPersister. generateNaturalIdMapping(MappingModelCreationProcess creationProcess, PersistentClass bootEntityDescriptor)
protected EntityIdentifierMapping
AbstractEntityPersister. generateNonEncapsulatedCompositeIdentifierMapping(MappingModelCreationProcess creationProcess, PersistentClass bootEntityDescriptor)
protected EntityIdentifierMapping
JoinedSubclassEntityPersister. generateNonEncapsulatedCompositeIdentifierMapping(MappingModelCreationProcess creationProcess, PersistentClass bootEntityDescriptor)
protected String
UnionSubclassEntityPersister. generateSubquery(PersistentClass model, Metadata mapping)
protected EntityVersionMapping
AbstractEntityPersister. generateVersionMapping(Supplier<?> templateInstanceCreator, PersistentClass bootEntityDescriptor, MappingModelCreationProcess creationProcess)
protected static EntityVersionMapping
AbstractEntityPersister. generateVersionMapping(AbstractEntityPersister entityPersister, Supplier<?> templateInstanceCreator, PersistentClass bootModelRootEntityDescriptor, MappingModelCreationProcess creationProcess)
protected EntityVersionMapping
JoinedSubclassEntityPersister. generateVersionMapping(Supplier<?> templateInstanceCreator, PersistentClass bootEntityDescriptor, MappingModelCreationProcess creationProcess)
static Map<String,String>
AbstractEntityPersister. getEntityNameByTableNameMap(PersistentClass persistentClass, SqlStringGenerationContext stringGenerationContext)
protected void
AbstractEntityPersister. initSubclassPropertyAliasesMap(PersistentClass model)
Deprecated.Hibernate no longer uses aliases to read from result sets -
Uses of PersistentClass in org.hibernate.persister.internal
Methods in org.hibernate.persister.internal with parameters of type PersistentClass Modifier and Type Method Description EntityPersister
PersisterFactoryImpl. createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, RuntimeModelCreationContext creationContext)
EntityPersister
PersisterFactoryImpl. createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, PersisterCreationContext creationContext)
Class<? extends EntityPersister>
StandardPersisterClassResolver. getEntityPersisterClass(PersistentClass model)
-
Uses of PersistentClass in org.hibernate.persister.spi
Methods in org.hibernate.persister.spi with parameters of type PersistentClass Modifier and Type Method Description default EntityPersister
PersisterFactory. createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, RuntimeModelCreationContext creationContext)
Create an entity persister instance.EntityPersister
PersisterFactory. createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, PersisterCreationContext creationContext)
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. -
Uses of PersistentClass in org.hibernate.proxy.pojo
Methods in org.hibernate.proxy.pojo with parameters of type PersistentClass Modifier and Type Method Description static Set<Class<?>>
ProxyFactoryHelper. extractProxyInterfaces(PersistentClass persistentClass, String entityName)
static void
ProxyFactoryHelper. validateProxyability(PersistentClass persistentClass)
-
Uses of PersistentClass in org.hibernate.testing.orm.junit
Methods in org.hibernate.testing.orm.junit that return PersistentClass Modifier and Type Method Description default PersistentClass
DomainModelScope. getEntityBinding(Class<?> theEntityClass)
-
Uses of PersistentClass in org.hibernate.tuple
Methods in org.hibernate.tuple with parameters of type PersistentClass Modifier and Type Method Description static IdentifierProperty
PropertyFactory. buildIdentifierAttribute(PersistentClass mappedEntity, Generator generator)
Deprecated, for removal: This API element is subject to removal in a future version.Generates the attribute representation of the identifier for a given entity mapping.Constructors in org.hibernate.tuple with parameters of type PersistentClass Constructor Description DynamicMapInstantiator(PersistentClass mappingInfo)
Deprecated. -
Uses of PersistentClass in org.hibernate.tuple.entity
Constructors in org.hibernate.tuple.entity with parameters of type PersistentClass Constructor Description EntityMetamodel(PersistentClass persistentClass, EntityPersister persister, RuntimeModelCreationContext creationContext)
Deprecated, for removal: This API element is subject to removal in a future version.EntityMetamodel(PersistentClass persistentClass, EntityPersister persister, PersisterCreationContext creationContext)
Deprecated.
-