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.
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.
Support for temporary tables.
This package defines an abstraction over all kinds of automatic
value generation, including id generation and version number
generation.
This package defines the Hibernate configuration-time mapping model.
An SPI supporting custom instantiation of
entity instances and
embeddable objects.
This package abstracts persistence mechanisms for entities.
An SPI for integrating custom entity and collection persisters.
Proxies for plain Java objects.
Support for common table expressions (CTE) in a SQL tree.
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.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.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.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.dialect.temptable
Methods in org.hibernate.dialect.temptable with parameters of type PersistentClassModifier and TypeMethodDescriptionstatic TemporaryTable
TemporaryTable.createEntityTable
(PersistentClass persistentClass, Function<String, String> temporaryTableNameAdjuster, TemporaryTableKind temporaryTableKind, Dialect dialect, RuntimeModelCreationContext runtimeModelCreationContext) static TemporaryTable
TemporaryTable.createIdTable
(PersistentClass persistentClass, Function<String, String> temporaryTableNameAdjuster, TemporaryTableKind temporaryTableKind, Dialect dialect, RuntimeModelCreationContext runtimeModelCreationContext) -
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
(org.hibernate.envers.configuration.internal.metadata.AuditTableData auditTableData, PersistentClass persistentClass) JoinedSubclassPersistentEntity
(org.hibernate.envers.configuration.internal.metadata.AuditTableData auditTableData, PersistentClass persistentClass) PersistentEntity
(org.hibernate.envers.configuration.internal.metadata.AuditTableData auditTableData, PersistentClass persistentClass) RootPersistentEntity
(org.hibernate.envers.configuration.internal.metadata.AuditTableData auditTableData, PersistentClass persistentClass) SubclassPersistentEntity
(org.hibernate.envers.configuration.internal.metadata.AuditTableData auditTableData, PersistentClass persistentClass) UnionSubclassPersistentEntity
(org.hibernate.envers.configuration.internal.metadata.AuditTableData auditTableData, PersistentClass 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.mapping
Subclasses of PersistentClass in org.hibernate.mappingModifier and TypeClassDescriptionfinal class
A mapping model object that represents a subclass in a "joined" or "table per subclass" inheritance hierarchy.final class
A mapping model object that represents the root class in an entity class inheritance hierarchy.final 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.final 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, org.hibernate.boot.model.internal.AnnotatedJoinColumns joinColumns) void
ToOne.createForeignKey
(PersistentClass referencedEntity, org.hibernate.boot.model.internal.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 buildingContext) 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.spi
Methods in org.hibernate.metamodel.spi with parameters of type PersistentClassModifier and TypeMethodDescriptionRuntimeModelCreationContext.getOrCreateIdGenerator
(String rootName, PersistentClass persistentClass) 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, org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess) protected EntityIdentifierMapping
JoinedSubclassEntityPersister.generateIdentifierMapping
(Supplier<?> templateInstanceCreator, PersistentClass persistentClass, org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess) protected NaturalIdMapping
AbstractEntityPersister.generateNaturalIdMapping
(org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess, PersistentClass bootEntityDescriptor) protected EntityIdentifierMapping
AbstractEntityPersister.generateNonEncapsulatedCompositeIdentifierMapping
(org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess, PersistentClass bootEntityDescriptor) protected EntityIdentifierMapping
JoinedSubclassEntityPersister.generateNonEncapsulatedCompositeIdentifierMapping
(org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess, PersistentClass bootEntityDescriptor) protected String
UnionSubclassEntityPersister.generateSubquery
(PersistentClass model) protected EntityVersionMapping
AbstractEntityPersister.generateVersionMapping
(Supplier<?> templateInstanceCreator, PersistentClass bootEntityDescriptor, org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess) protected static EntityVersionMapping
AbstractEntityPersister.generateVersionMapping
(AbstractEntityPersister entityPersister, Supplier<?> templateInstanceCreator, PersistentClass bootModelRootEntityDescriptor, org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess) protected EntityVersionMapping
JoinedSubclassEntityPersister.generateVersionMapping
(Supplier<?> templateInstanceCreator, PersistentClass bootEntityDescriptor, org.hibernate.metamodel.mapping.internal.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.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) Deprecated, for removal: This API element is subject to removal in a future version.static void
ProxyFactoryHelper.validateProxyability
(PersistentClass persistentClass) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of PersistentClass in org.hibernate.sql.ast.tree.cte
Methods in org.hibernate.sql.ast.tree.cte with parameters of type PersistentClassModifier and TypeMethodDescriptionstatic CteTable
CteTable.createEntityTable
(String cteName, PersistentClass persistentClass) static CteTable
CteTable.createIdTable
(String cteName, PersistentClass 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
Methods in org.hibernate.tuple.entity with parameters of type PersistentClassModifier and TypeMethodDescriptionprotected BytecodeEnhancementMetadata
EntityMetamodel.getBytecodeEnhancementMetadataPojo
(PersistentClass persistentClass, RuntimeModelCreationContext creationContext, Set<String> idAttributeNames, CompositeType nonAggregatedCidMapper, boolean collectionsInDefaultFetchGroupEnabled) Deprecated, for removal: This API element is subject to removal in a future version.Constructors in org.hibernate.tuple.entity with parameters of type PersistentClassModifierConstructorDescriptionEntityMetamodel
(PersistentClass persistentClass, RuntimeModelCreationContext creationContext) Deprecated, for removal: This API element is subject to removal in a future version.EntityMetamodel
(PersistentClass persistentClass, RuntimeModelCreationContext creationContext, Function<String, Generator> generatorSupplier) Deprecated, for removal: This API element is subject to removal in a future version.