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 TypeMethodDescriptionvoidAttributeBinder.bind(A annotation, MetadataBuildingContext buildingContext, PersistentClass persistentClass, Property property) Perform some custom configuration of the model relating to the given annotatedPropertyof the given entity class or embeddable class.voidTypeBinder.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 TableTransformationHelper.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 ofPersistentClassby entity name.AbstractDelegatingMetadata.getEntityBindings()Methods in org.hibernate.boot.spi with parameters of type PersistentClassModifier and TypeMethodDescriptionvoidInFlightMetadataCollector.addEntityBinding(PersistentClass persistentClass) Add thePersistentClassfor an entity mapping.Method parameters in org.hibernate.boot.spi with type arguments of type PersistentClassModifier and TypeMethodDescriptionvoidSecondPass.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 LazyAttributesMetadataLazyAttributesMetadata.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 TemporaryTableTemporaryTable.createEntityTable(PersistentClass persistentClass, Function<String, String> temporaryTableNameAdjuster, TemporaryTableKind temporaryTableKind, Dialect dialect, RuntimeModelCreationContext runtimeModelCreationContext) static TemporaryTableTemporaryTable.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 PersistentClassPersistentEntity.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 classA mapping model object that represents a subclass in a "joined" or "table per subclass" inheritance hierarchy.final classA mapping model object that represents the root class in an entity class inheritance hierarchy.final classA mapping model object that represents a subclass in a single table inheritance hierarchy.classA mapping model object that represents a subclass in an entity class inheritance hierarchy.final classA 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 PersistentClassPersistentClass.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 TypeMethodDescriptionvoidSimpleValue.createForeignKey(PersistentClass referencedEntity, org.hibernate.boot.model.internal.AnnotatedJoinColumns joinColumns) voidToOne.createForeignKey(PersistentClass referencedEntity, org.hibernate.boot.model.internal.AnnotatedJoinColumns joinColumns) voidOneToMany.setAssociatedClass(PersistentClass associatedClass) Associated entity on the many sidevoidComponent.setOwner(PersistentClass owner) voidJoin.setPersistentClass(PersistentClass persistentClass) voidProperty.setPersistentClass(PersistentClass persistentClass) voidSubclass.setSuperclass(PersistentClass superclass) Method parameters in org.hibernate.mapping with type arguments of type PersistentClassModifier and TypeMethodDescriptionvoidManyToOne.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 bindingprotectedCollection(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) Annotation bindingprotectedCollection(MetadataBuildingContext buildingContext, PersistentClass owner) hbm.xml bindingComponent(MetadataBuildingContext metadata, PersistentClass owner) Component(MetadataBuildingContext metadata, Table table, PersistentClass owner) FilterConfiguration(String name, String condition, boolean autoAliasInjection, Map<String, String> aliasTableMap, Map<String, String> aliasEntityMap, PersistentClass persistentClass) 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 EntityDiscriminatorMappingAbstractEntityPersister.generateDiscriminatorMapping(PersistentClass bootEntityDescriptor) protected EntityDiscriminatorMappingJoinedSubclassEntityPersister.generateDiscriminatorMapping(PersistentClass bootEntityDescriptor) protected EntityDiscriminatorMappingUnionSubclassEntityPersister.generateDiscriminatorMapping(PersistentClass bootEntityDescriptor) protected EntityIdentifierMappingAbstractEntityPersister.generateIdentifierMapping(Supplier<?> templateInstanceCreator, PersistentClass bootEntityDescriptor, org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess) protected EntityIdentifierMappingJoinedSubclassEntityPersister.generateIdentifierMapping(Supplier<?> templateInstanceCreator, PersistentClass persistentClass, org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess) protected NaturalIdMappingAbstractEntityPersister.generateNaturalIdMapping(org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess, PersistentClass bootEntityDescriptor) protected EntityIdentifierMappingAbstractEntityPersister.generateNonEncapsulatedCompositeIdentifierMapping(org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess, PersistentClass bootEntityDescriptor) protected EntityIdentifierMappingJoinedSubclassEntityPersister.generateNonEncapsulatedCompositeIdentifierMapping(org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess, PersistentClass bootEntityDescriptor) protected StringUnionSubclassEntityPersister.generateSubquery(PersistentClass model) protected EntityVersionMappingAbstractEntityPersister.generateVersionMapping(Supplier<?> templateInstanceCreator, PersistentClass bootEntityDescriptor, org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess) protected static EntityVersionMappingAbstractEntityPersister.generateVersionMapping(AbstractEntityPersister entityPersister, Supplier<?> templateInstanceCreator, PersistentClass bootModelRootEntityDescriptor, org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess) protected EntityVersionMappingJoinedSubclassEntityPersister.generateVersionMapping(Supplier<?> templateInstanceCreator, PersistentClass bootEntityDescriptor, org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess) static StringDiscriminatorHelper.getDiscriminatorSQLValue(PersistentClass persistentClass, Dialect dialect) static ObjectDiscriminatorHelper.getDiscriminatorValue(PersistentClass persistentClass) AbstractEntityPersister.getEntityNameByTableNameMap(PersistentClass persistentClass, SqlStringGenerationContext stringGenerationContext) protected voidAbstractEntityPersister.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 voidProxyFactoryHelper.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 CteTableCteTable.createEntityTable(String cteName, PersistentClass persistentClass) static CteTableCteTable.createIdTable(String cteName, PersistentClass persistentClass) -
Uses of PersistentClass in org.hibernate.tuple
Methods in org.hibernate.tuple with parameters of type PersistentClassModifier and TypeMethodDescriptionstatic IdentifierPropertyPropertyFactory.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 BytecodeEnhancementMetadataEntityMetamodel.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.