Uses of Class
org.hibernate.mapping.PersistentClass
Packages that use PersistentClass
Package
Description
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.
Built-in implementations of
AttributeBinder
and TypeBinder
.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.
Support for bytecode interceptor implementations.
Implementation of the second-level cache configuration SPI.
This package defines an abstraction over all kinds of automatic
value generation, including id generation and version number
generation.
An internal package containing implementations of central Hibernate APIs,
mostly defined in
org.hibernate
.Internal details of implementing support for JPA callbacks
This package defines the Hibernate configuration-time mapping model.
Implementation of the SPI for the runtime domain metamodel.
An SPI supporting custom instantiation of
entity instances and
embeddable objects.
This package abstracts persistence mechanisms for entities.
Built-in implementation of the SPI for integrating entity and collection persisters.
An SPI for integrating custom entity and collection persisters.
Proxies for plain Java objects.
Most contracts here have been replaced by the new runtime
mapping model.
-
Uses of PersistentClass in org.hibernate.binder
Methods in org.hibernate.binder with parameters of type PersistentClassModifier and TypeMethodDescriptionvoid
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 PersistentClassModifier and TypeMethodDescriptionvoid
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 PersistentClassModifier and TypeMethodDescriptionMetadata.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 PersistentClassModifier and TypeMethodDescriptionMetadata.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 PersistentClassModifier and TypeMethodDescriptionInFlightMetadataCollectorImpl.getEntityBinding
(String entityName) MetadataImpl.getEntityBinding
(String entityName) Methods in org.hibernate.boot.internal that return types with arguments of type PersistentClassModifier and TypeMethodDescriptionInFlightMetadataCollectorImpl.getEntityBindingMap()
MetadataImpl.getEntityBindingMap()
InFlightMetadataCollectorImpl.getEntityBindings()
MetadataImpl.getEntityBindings()
Methods in org.hibernate.boot.internal with parameters of type PersistentClassModifier and TypeMethodDescriptionvoid
InFlightMetadataCollectorImpl.addEntityBinding
(PersistentClass persistentClass) Constructor parameters in org.hibernate.boot.internal with type arguments of type PersistentClassModifierConstructorDescriptionMetadataImpl
(UUID uuid, MetadataBuildingOptions metadataBuildingOptions, Map<String, PersistentClass> entityBindingMap, List<Component> composites, Map<Class<?>, Component> genericComponentsMap, Map<Class<?>, DiscriminatorType<?>> embeddableDiscriminatorTypesMap, 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.jaxb.hbm.transform
Methods in org.hibernate.boot.jaxb.hbm.transform that return PersistentClassMethods in org.hibernate.boot.jaxb.hbm.transform with parameters of type PersistentClassModifier and TypeMethodDescriptionstatic Table
TransformationHelper.determineEntityTable
(PersistentClass persistentClass) Constructors in org.hibernate.boot.jaxb.hbm.transform with parameters of type PersistentClass -
Uses of PersistentClass in org.hibernate.boot.model.internal
Fields in org.hibernate.boot.model.internal declared as PersistentClassModifier and TypeFieldDescriptionprotected final PersistentClass
AbstractEntityIdGeneratorResolver.entityMapping
Methods in org.hibernate.boot.model.internal that return PersistentClassModifier and TypeMethodDescriptionClassPropertyHolder.getPersistentClass()
CollectionPropertyHolder.getPersistentClass()
ComponentPropertyHolder.getPersistentClass()
EntityBinder.getPersistentClass()
PropertyHolder.getPersistentClass()
Methods in org.hibernate.boot.model.internal with parameters of type PersistentClassModifier and TypeMethodDescriptionvoid
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
(PersistentClass persistentClass, Map<String, Join> joins, MetadataBuildingContext context, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStatePerClass) May only be called during the second pass phase.static PropertyHolder
PropertyHolderBuilder.buildPropertyHolder
(org.hibernate.models.spi.ClassDetails clazzToProcess, PersistentClass persistentClass, EntityBinder entityBinder, MetadataBuildingContext context, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStatePerClass) 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) 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
GeneratorAnnotationHelper.handleGenericGenerator
(String generatorName, GenericGenerator generatorConfig, PersistentClass entityMapping, SimpleValue idValue, MetadataBuildingContext context) static void
GeneratorAnnotationHelper.handleTableGenerator
(String nameFromGeneratedValue, TableGenerator generatorAnnotation, PersistentClass entityMapping, SimpleValue idValue, org.hibernate.models.spi.MemberDetails idMember, MetadataBuildingContext buildingContext) 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.postProcess
(PersistentClass persistenceClass, EntityBinder entityBinder) Method parameters in org.hibernate.boot.model.internal with type arguments of type PersistentClassModifier and TypeMethodDescriptionprotected 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) final void
AbstractEntityIdGeneratorResolver.doSecondPass
(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
DiscriminatorColumnSecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) void
FetchOverrideSecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) void
FetchSecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) void
IdBagIdGeneratorResolverSecondPass.doSecondPass
(Map<String, PersistentClass> idGeneratorDefinitionMap) void
ImplicitToOneJoinTableSecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) void
JoinedSubclassFkSecondPass.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 PersistentClassModifierConstructorDescriptionAbstractEntityIdGeneratorResolver
(PersistentClass entityMapping, SimpleValue idValue, org.hibernate.models.spi.MemberDetails idMember, GeneratedValue generatedValue, MetadataBuildingContext buildingContext) ClassPropertyHolder
(PersistentClass persistentClass, org.hibernate.models.spi.ClassDetails entityXClass, Map<String, Join> joins, MetadataBuildingContext context, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStatePerClass) ClassPropertyHolder
(PersistentClass persistentClass, org.hibernate.models.spi.ClassDetails entityXClass, EntityBinder entityBinder, MetadataBuildingContext context, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStatePerClass) EntityBinder
(org.hibernate.models.spi.ClassDetails annotatedClass, PersistentClass persistentClass, MetadataBuildingContext context) IdGeneratorResolverSecondPass
(PersistentClass entityMapping, SimpleValue idValue, org.hibernate.models.spi.MemberDetails idMember, GeneratedValue generatedValue, MetadataBuildingContext buildingContext) StrictIdGeneratorResolverSecondPass
(PersistentClass entityMapping, SimpleValue idValue, org.hibernate.models.spi.MemberDetails idMember, GeneratedValue generatedValue, MetadataBuildingContext buildingContext) 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 PersistentClassModifier and TypeMethodDescriptionHbmLocalMetadataBuildingContext.findEntityBinding
(String entityName, String clazz) MappingDocument.findEntityBinding
(String entityName, String clazz) -
Uses of PersistentClass in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi that return PersistentClassMethods in org.hibernate.boot.spi that return types with arguments of type PersistentClassModifier and TypeMethodDescriptionInFlightMetadataCollector.getEntityBindingMap()
A map ofPersistentClass
by entity name.AbstractDelegatingMetadata.getEntityBindings()
Methods in org.hibernate.boot.spi with parameters of type PersistentClassModifier and TypeMethodDescriptionvoid
InFlightMetadataCollector.addEntityBinding
(PersistentClass persistentClass) Add thePersistentClass
for an entity mapping.Method parameters in org.hibernate.boot.spi with type arguments of type PersistentClassModifier and TypeMethodDescriptionvoid
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 PersistentClassModifier and TypeMethodDescriptionstatic 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 PersistentClassModifier and TypeMethodDescriptionstatic 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 PersistentClassModifier and TypeMethodDescriptionDomainDataRegionConfigImpl.Builder.addEntityConfig
(PersistentClass bootEntityDescriptor, AccessType accessType) -
Uses of PersistentClass in org.hibernate.envers.boot.model
Methods in org.hibernate.envers.boot.model that return PersistentClassModifier and TypeMethodDescriptionprotected PersistentClass
PersistentEntity.getPersistentClass()
Constructors in org.hibernate.envers.boot.model with parameters of type PersistentClassModifierConstructorDescriptionDiscriminatorPersistentEntity
(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 PersistentClassModifier and TypeMethodDescriptionMethods in org.hibernate.envers.configuration.internal that return types with arguments of type PersistentClassModifier and TypeMethodDescriptionPersistentClassGraphDefiner.getNeighbours
(PersistentClass pc) PersistentClassGraphDefiner.getValues()
Methods in org.hibernate.envers.configuration.internal with parameters of type PersistentClassModifier and TypeMethodDescriptionPersistentClassGraphDefiner.getNeighbours
(PersistentClass pc) 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 PersistentClassModifier and TypeMethodDescriptionIdMetadataGenerator.addIdAndGetMappingData
(PersistentClass persistentClass, boolean audited) void
IdMetadataGenerator.generateSecondPass
(String entityName, PersistentClass persistentClass) static InheritanceType
InheritanceType.get
(PersistentClass pc) 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 PersistentClassMethods in org.hibernate.envers.configuration.internal.metadata.reader with parameters of type PersistentClassModifier and TypeMethodDescriptionstatic PersistentPropertiesSource
PersistentPropertiesSource.forClass
(PersistentClass persistentClass, org.hibernate.models.spi.ClassDetails classDetails) Get a persistent properties source for a persistent class.AnnotationsMetadataReader.getAuditData
(PersistentClass persistentClass) Constructors in org.hibernate.envers.configuration.internal.metadata.reader with parameters of type PersistentClass -
Uses of PersistentClass in org.hibernate.generator
Methods in org.hibernate.generator that return PersistentClassModifier and TypeMethodDescriptionGeneratorCreationContext.getPersistentClass()
Mapping details for the entity. -
Uses of PersistentClass in org.hibernate.internal
Constructors in org.hibernate.internal with parameters of type PersistentClassModifierConstructorDescriptionFilterConfiguration
(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 PersistentClassModifier and TypeMethodDescriptionstatic CallbackRegistry
CallbacksFactory.buildCallbackRegistry
(SessionFactoryOptions options, ServiceRegistry serviceRegistry, Collection<PersistentClass> entityBindings) -
Uses of PersistentClass in org.hibernate.mapping
Subclasses of PersistentClass in org.hibernate.mappingModifier and TypeClassDescriptionclass
A mapping model object that represents a subclass in a "joined" or "table per subclass" inheritance hierarchy.class
A mapping model object that represents the root class in an entity class inheritance hierarchy.class
A mapping model object that represents a subclass in a single table inheritance hierarchy.class
A mapping model object that represents a subclass in an entity class inheritance hierarchy.class
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 PersistentClassModifier and TypeMethodDescriptionOneToMany.getAssociatedClass()
Collection.getOwner()
Component.getOwner()
Join.getPersistentClass()
Property.getPersistentClass()
abstract PersistentClass
PersistentClass.getSuperclass()
RootClass.getSuperclass()
Subclass.getSuperclass()
MappedSuperclass.getSuperPersistentClass()
Returns the PersistentClass of the first superclass marked as @Entity or null if none existsPersistentClass.getSuperPersistentClass()
ForeignKey.resolveReferencedClass
(Metadata metadata) Methods in org.hibernate.mapping that return types with arguments of type PersistentClassMethods in org.hibernate.mapping with parameters of type PersistentClassModifier and TypeMethodDescriptionvoid
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 PersistentClassModifier and TypeMethodDescriptionvoid
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.Constructors in org.hibernate.mapping with parameters of type PersistentClassModifierConstructorDescriptionArray
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) Array
(MetadataBuildingContext buildingContext, PersistentClass owner) Bag
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) Annotation bindingBag
(MetadataBuildingContext buildingContext, PersistentClass owner) hbm.xml bindingprotected
Collection
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) Annotation bindingprotected
Collection
(MetadataBuildingContext buildingContext, PersistentClass owner) hbm.xml bindingComponent
(MetadataBuildingContext metadata, PersistentClass owner) Component
(MetadataBuildingContext metadata, Table table, PersistentClass owner) IdentifierBag
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) annotation bindingIdentifierBag
(MetadataBuildingContext buildingContext, PersistentClass owner) hbm.xml bindingIdentifierCollection
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) IdentifierCollection
(MetadataBuildingContext buildingContext, PersistentClass owner) IndexedCollection
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) IndexedCollection
(MetadataBuildingContext buildingContext, PersistentClass owner) JoinedSubclass
(PersistentClass superclass, MetadataBuildingContext metadataBuildingContext) List
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) annotation bindingList
(MetadataBuildingContext buildingContext, PersistentClass owner) hbm.xml bindingMap
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) Map
(MetadataBuildingContext buildingContext, PersistentClass owner) MappedSuperclass
(MappedSuperclass superMappedSuperclass, PersistentClass superPersistentClass, Table implicitTable) OneToMany
(MetadataBuildingContext buildingContext, PersistentClass owner) OneToOne
(MetadataBuildingContext buildingContext, Table table, PersistentClass owner) PrimitiveArray
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) PrimitiveArray
(MetadataBuildingContext buildingContext, PersistentClass owner) Set
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass persistentClass, MetadataBuildingContext buildingContext) Used by annotation bindingSet
(MetadataBuildingContext buildingContext, PersistentClass owner) Used by hbm.xml bindingSingleTableSubclass
(PersistentClass superclass, MetadataBuildingContext buildingContext) Subclass
(PersistentClass superclass, MetadataBuildingContext buildingContext) UnionSubclass
(PersistentClass superclass, MetadataBuildingContext buildingContext) -
Uses of PersistentClass in org.hibernate.metamodel.internal
Methods in org.hibernate.metamodel.internal that return PersistentClassModifier and TypeMethodDescriptionMetadataContext.getPersistentClassHostingProperties
(MappedSuperclassTypeImpl<?> mappedSuperclassType) Methods in org.hibernate.metamodel.internal with parameters of type PersistentClassModifier and TypeMethodDescriptionMetadataContext.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) ManagedTypeRepresentationResolverStandard.resolveStrategy
(PersistentClass bootDescriptor, EntityPersister runtimeDescriptor, RuntimeModelCreationContext creationContext) Constructors in org.hibernate.metamodel.internal with parameters of type PersistentClassModifierConstructorDescriptionAbstractEntityInstantiatorPojo
(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 PersistentClassModifier and TypeMethodDescriptionstatic 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 PersistentClassModifierConstructorDescriptionEntityTypeImpl
(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 PersistentClassModifier and TypeMethodDescriptiondefault EntityMetamodel
RuntimeModelCreationContext.createEntityMetamodel
(PersistentClass persistentClass, EntityPersister persister) 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 PersistentClassModifier and TypeMethodDescriptionprotected EntityDiscriminatorMapping
AbstractEntityPersister.generateDiscriminatorMapping
(PersistentClass bootEntityDescriptor) protected EntityDiscriminatorMapping
JoinedSubclassEntityPersister.generateDiscriminatorMapping
(PersistentClass bootEntityDescriptor) protected EntityDiscriminatorMapping
UnionSubclassEntityPersister.generateDiscriminatorMapping
(PersistentClass bootEntityDescriptor) 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 String
DiscriminatorHelper.getDiscriminatorSQLValue
(PersistentClass persistentClass, Dialect dialect) static Object
DiscriminatorHelper.getDiscriminatorValue
(PersistentClass persistentClass) AbstractEntityPersister.getEntityNameByTableNameMap
(PersistentClass persistentClass, SqlStringGenerationContext stringGenerationContext) protected void
AbstractEntityPersister.initSubclassPropertyAliasesMap
(PersistentClass model) Deprecated.Hibernate no longer uses aliases to read from result setsConstructors in org.hibernate.persister.entity with parameters of type PersistentClassModifierConstructorDescriptionAbstractEntityPersister
(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, RuntimeModelCreationContext creationContext) JoinedSubclassEntityPersister
(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, RuntimeModelCreationContext creationContext) SingleTableEntityPersister
(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, RuntimeModelCreationContext creationContext) UnionSubclassEntityPersister
(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, RuntimeModelCreationContext creationContext) -
Uses of PersistentClass in org.hibernate.persister.internal
Methods in org.hibernate.persister.internal with parameters of type PersistentClassModifier and TypeMethodDescriptionPersisterFactoryImpl.createEntityPersister
(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, RuntimeModelCreationContext 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 PersistentClassModifier and TypeMethodDescriptionPersisterFactory.createEntityPersister
(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, RuntimeModelCreationContext 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. -
Uses of PersistentClass in org.hibernate.proxy.pojo
Methods in org.hibernate.proxy.pojo with parameters of type PersistentClassModifier and TypeMethodDescriptionProxyFactoryHelper.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 PersistentClassModifier and TypeMethodDescriptionDialectFeatureChecks.FakeMetadataBuildingContext.getEntityBinding
(String entityName) default PersistentClass
DomainModelScope.getEntityBinding
(Class<?> theEntityClass) Methods in org.hibernate.testing.orm.junit that return types with arguments of type PersistentClassModifier and TypeMethodDescriptionDialectFeatureChecks.FakeMetadataBuildingContext.getEntityBindingMap()
DialectFeatureChecks.FakeMetadataBuildingContext.getEntityBindings()
Methods in org.hibernate.testing.orm.junit with parameters of type PersistentClassModifier and TypeMethodDescriptionvoid
DialectFeatureChecks.FakeMetadataBuildingContext.addEntityBinding
(PersistentClass persistentClass) -
Uses of PersistentClass in org.hibernate.testing.util.uuid
Methods in org.hibernate.testing.util.uuid that return PersistentClass -
Uses of PersistentClass in org.hibernate.tuple
Methods in org.hibernate.tuple with parameters of type PersistentClassModifier and TypeMethodDescriptionstatic 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. -
Uses of PersistentClass in org.hibernate.tuple.entity
Constructors in org.hibernate.tuple.entity with parameters of type PersistentClassModifierConstructorDescriptionEntityMetamodel
(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, RuntimeModelCreationContext creationContext, Function<String, Generator> generatorSupplier) Deprecated, for removal: This API element is subject to removal in a future version.