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.boot This package contains the interfaces that make up the bootstrap API for Hibernate.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.generator This package defines an abstraction over all kinds of automatic value generation, including id generation and version number generation.org.hibernate.mapping This package defines the Hibernate configuration-time mapping model.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.spi An SPI for integrating custom entity and collection persisters.org.hibernate.proxy.pojo Proxies for plain Java objects.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 voidAttributeBinder. 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 PersistentClass Modifier and Type Method Description PersistentClassMetadata. 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.spi
Methods in org.hibernate.boot.spi that return PersistentClass Modifier and Type Method Description PersistentClassAbstractDelegatingMetadata. 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 ofPersistentClassby entity name.Collection<PersistentClass>AbstractDelegatingMetadata. getEntityBindings()Methods in org.hibernate.boot.spi with parameters of type PersistentClass Modifier and Type Method Description voidInFlightMetadataCollector. addEntityBinding(PersistentClass persistentClass)Add thePersistentClassfor an entity mapping.Method parameters in org.hibernate.boot.spi with type arguments of type PersistentClass Modifier and Type Method Description voidSecondPass. 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 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.generator
Methods in org.hibernate.generator that return PersistentClass Modifier and Type Method Description PersistentClassGeneratorCreationContext. getPersistentClass()Mapping details for the entity; may be null in the case of and id-bag id generator. -
Uses of PersistentClass in org.hibernate.mapping
Subclasses of PersistentClass in org.hibernate.mapping Modifier and Type Class Description classJoinedSubclassA mapping model object that represents a subclass in a "joined" or "table per subclass" inheritance hierarchy.classRootClassA mapping model object that represents the root class in an entity class inheritance hierarchy.classSingleTableSubclassA mapping model object that represents a subclass in a single table inheritance hierarchy.classSubclassA mapping model object that represents a subclass in an entity class inheritance hierarchy.classUnionSubclassA 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 PersistentClassOneToMany. getAssociatedClass()PersistentClassCollection. getOwner()PersistentClassComponent. getOwner()PersistentClassJoin. getPersistentClass()PersistentClassProperty. getPersistentClass()abstract PersistentClassPersistentClass. getSuperclass()PersistentClassRootClass. getSuperclass()PersistentClassSubclass. getSuperclass()PersistentClassMappedSuperclass. getSuperPersistentClass()Returns the PersistentClass of the first superclass marked as @Entity or null if none existsPersistentClassPersistentClass. getSuperPersistentClass()PersistentClassForeignKey. 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 voidSimpleValue. 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 PersistentClass Modifier and Type Method Description voidManyToOne. 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.spi
Methods in org.hibernate.metamodel.spi with parameters of type PersistentClass Modifier and Type Method Description EntityRepresentationStrategyManagedTypeRepresentationResolver. 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 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 bootEntityDescriptor, 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, Metadata mapping)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 Map<String,String>AbstractEntityPersister. getEntityNameByTableNameMap(PersistentClass persistentClass, SqlStringGenerationContext stringGenerationContext)protected voidAbstractEntityPersister. initSubclassPropertyAliasesMap(PersistentClass model)Deprecated.Hibernate no longer uses aliases to read from result sets -
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 EntityPersisterPersisterFactory. createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, RuntimeModelCreationContext creationContext)Create an entity persister instance.EntityPersisterPersisterFactory. 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 voidProxyFactoryHelper. validateProxyability(PersistentClass persistentClass) -
Uses of PersistentClass in org.hibernate.tuple
Methods in org.hibernate.tuple with parameters of type PersistentClass Modifier and Type Method Description static 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.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.
-