Uses of Class
org.hibernate.mapping.PersistentClass
-
Packages that use PersistentClass Package Description org.hibernate.boot This package contains the contracts that make up the Hibernate native bootstrapping API (building a SessionFactory).org.hibernate.boot.spi org.hibernate.bytecode.enhance.spi.interceptor interceptor implementationsorg.hibernate.cfg org.hibernate.cfg.annotations org.hibernate.hql.spi.id Support for multi-table update and delete statements via id-tables.org.hibernate.hql.spi.id.global org.hibernate.hql.spi.id.local org.hibernate.hql.spi.id.persistent Package contains an implementation of MultiTableBulkIdStrategy based on the use of a persistent (ANSI SQL term) table to hold id values.org.hibernate.mapping org.hibernate.persister.entity org.hibernate.persister.spi org.hibernate.proxy.pojo org.hibernate.tuple org.hibernate.tuple.entity -
-
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()Needed for SecondPass handlingCollection<PersistentClass>AbstractDelegatingMetadata. getEntityBindings()Methods in org.hibernate.boot.spi with parameters of type PersistentClass Modifier and Type Method Description voidInFlightMetadataCollector. addEntityBinding(PersistentClass persistentClass)Add the PersistentClass for an entity mapping. -
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, PersisterCreationContext creationContext)Build a LazyFetchGroupMetadata based on the attributes defined for the PersistentClass -
Uses of PersistentClass in org.hibernate.cfg
Methods in org.hibernate.cfg that return PersistentClass Modifier and Type Method Description PersistentClassClassPropertyHolder. getPersistentClass()PersistentClassCollectionPropertyHolder. getPersistentClass()PersistentClassComponentPropertyHolder. getPersistentClass()PersistentClassPropertyHolder. getPersistentClass()Methods in org.hibernate.cfg with parameters of type PersistentClass Modifier and Type Method Description voidEjb3JoinColumn. addDefaultJoinColumnName(PersistentClass referencedEntity, String logicalReferencedColumn)static PropertyHolderPropertyHolderBuilder. buildPropertyHolder(org.hibernate.annotations.common.reflection.XClass clazzToProcess, PersistentClass persistentClass, EntityBinder entityBinder, MetadataBuildingContext context, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)static PropertyHolderPropertyHolderBuilder. buildPropertyHolder(PersistentClass persistentClass, Map<String,Join> joins, MetadataBuildingContext context, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)must only be used on second level phases (has to be settled already) static intEjb3JoinColumn. checkReferencedColumnsType(Ejb3JoinColumn[] columns, PersistentClass referencedEntity, MetadataBuildingContext context)voidEjb3JoinColumn. copyReferencedStructureAndCreateDefaultJoinColumns(PersistentClass referencedEntity, Iterator columnIterator, SimpleValue value)static voidBinderHelper. createSyntheticPropertyReference(Ejb3JoinColumn[] columns, PersistentClass ownerEntity, PersistentClass associatedEntity, Value value, boolean inverse, MetadataBuildingContext context)static ObjectBinderHelper. findColumnOwner(PersistentClass persistentClass, String columnName, MetadataBuildingContext context)Find the column owner (ie PersistentClass or Join) of columnName.static PropertyBinderHelper. 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 returnedvoidEjb3JoinColumn. linkValueUsingDefaultColumnNaming(Column referencedColumn, PersistentClass referencedEntity, SimpleValue value)voidEjb3JoinColumn. setPersistentClass(PersistentClass persistentClass, Map<String,Join> joins, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)Override persistent class on oneToMany Cases for late settings Must only be used on second level pass bindingConstructors in org.hibernate.cfg 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) -
Uses of PersistentClass in org.hibernate.cfg.annotations
Methods in org.hibernate.cfg.annotations with parameters of type PersistentClass Modifier and Type Method Description static voidTableBinder. bindFk(PersistentClass referencedEntity, PersistentClass destinationEntity, Ejb3JoinColumn[] columns, SimpleValue value, boolean unique, MetadataBuildingContext buildingContext)static voidCollectionBinder. bindManytoManyInverseFk(PersistentClass referencedEntity, Ejb3JoinColumn[] columns, SimpleValue value, boolean unique, MetadataBuildingContext buildingContext)bind the inverse FK of a ManyToMany If we are in a mappedBy case, read the columns from the associated collection element Otherwise delegates to the usual algorithmprotected CollectionArrayBinder. createCollection(PersistentClass persistentClass)protected CollectionBagBinder. createCollection(PersistentClass persistentClass)protected abstract CollectionCollectionBinder. createCollection(PersistentClass persistentClass)protected CollectionIdBagBinder. createCollection(PersistentClass persistentClass)protected CollectionListBinder. createCollection(PersistentClass persistentClass)protected CollectionMapBinder. createCollection(PersistentClass persistentClass)protected CollectionPrimitiveArrayBinder. createCollection(PersistentClass persistentClass)protected CollectionSetBinder. createCollection(PersistentClass persistentClass)protected ValueMapBinder. createFormulatedValue(Value value, Collection collection, String targetPropertyName, PersistentClass associatedClass, PersistentClass targetPropertyPersistentClass, MetadataBuildingContext buildingContext)static voidTableBinder. linkJoinColumnWithValueOverridingNameIfImplicit(PersistentClass referencedEntity, Iterator columnIterator, Ejb3JoinColumn[] columns, SimpleValue value)Method parameters in org.hibernate.cfg.annotations with type arguments of type PersistentClass Modifier and Type Method Description protected voidCollectionBinder. bindOneToManySecondPass(Collection collection, Map<String,PersistentClass> persistentClasses, Ejb3JoinColumn[] fkJoinColumns, org.hibernate.annotations.common.reflection.XClass collectionType, boolean cascadeDeleteEnabled, NotFoundAction notFoundAction, MetadataBuildingContext buildingContext, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)protected booleanCollectionBinder. bindStarToManySecondPass(Map<String,PersistentClass> persistentClasses, org.hibernate.annotations.common.reflection.XClass collType, Ejb3JoinColumn[] fkJoinColumns, Ejb3JoinColumn[] keyColumns, Ejb3JoinColumn[] inverseColumns, Ejb3Column[] elementColumns, boolean isEmbedded, org.hibernate.annotations.common.reflection.XProperty property, boolean unique, TableBinder associationTableBinder, NotFoundAction notFoundAction, MetadataBuildingContext buildingContext)return true if it's a Fk, false if it's an association tableConstructors in org.hibernate.cfg.annotations with parameters of type PersistentClass Constructor Description EntityBinder(Entity ejb3Ann, Entity hibAnn, org.hibernate.annotations.common.reflection.XClass annotatedClass, PersistentClass persistentClass, MetadataBuildingContext context) -
Uses of PersistentClass in org.hibernate.hql.spi.id
Methods in org.hibernate.hql.spi.id with parameters of type PersistentClass Modifier and Type Method Description protected abstract TTAbstractMultiTableBulkIdStrategyImpl. buildIdTableInfo(PersistentClass entityBinding, Table idTable, JdbcServices jdbcServices, MetadataImplementor metadata, CT context, SqlStringGenerationContext sqlStringGenerationContext)protected QualifiedTableNameAbstractMultiTableBulkIdStrategyImpl. determineIdTableName(JdbcEnvironment jdbcEnvironment, PersistentClass entityBinding)booleanIdTableHelper. needsIdTable(PersistentClass entityBinding) -
Uses of PersistentClass in org.hibernate.hql.spi.id.global
Methods in org.hibernate.hql.spi.id.global with parameters of type PersistentClass Modifier and Type Method Description protected org.hibernate.hql.spi.id.global.IdTableInfoImplGlobalTemporaryTableBulkIdStrategy. buildIdTableInfo(PersistentClass entityBinding, Table idTable, JdbcServices jdbcServices, MetadataImplementor metadata, org.hibernate.hql.spi.id.global.PreparationContextImpl context, SqlStringGenerationContext sqlStringGenerationContext) -
Uses of PersistentClass in org.hibernate.hql.spi.id.local
Methods in org.hibernate.hql.spi.id.local with parameters of type PersistentClass Modifier and Type Method Description protected IdTableInfoImplLocalTemporaryTableBulkIdStrategy. buildIdTableInfo(PersistentClass entityBinding, Table idTable, JdbcServices jdbcServices, MetadataImplementor metadata, org.hibernate.hql.spi.id.local.PreparationContextImpl context, SqlStringGenerationContext sqlStringGenerationContext) -
Uses of PersistentClass in org.hibernate.hql.spi.id.persistent
Methods in org.hibernate.hql.spi.id.persistent with parameters of type PersistentClass Modifier and Type Method Description protected org.hibernate.hql.spi.id.persistent.IdTableInfoImplPersistentTableBulkIdStrategy. buildIdTableInfo(PersistentClass entityBinding, Table idTable, JdbcServices jdbcServices, MetadataImplementor metadata, org.hibernate.hql.spi.id.persistent.PreparationContextImpl context, SqlStringGenerationContext sqlStringGenerationContext)protected QualifiedTableNamePersistentTableBulkIdStrategy. determineIdTableName(JdbcEnvironment jdbcEnvironment, PersistentClass entityBinding) -
Uses of PersistentClass in org.hibernate.mapping
Subclasses of PersistentClass in org.hibernate.mapping Modifier and Type Class Description classJoinedSubclassA subclass in a table-per-subclass mappingclassRootClassThe root class of an inheritance hierarchyclassSingleTableSubclassclassSubclassA subclass in a table-per-class-hierarchy mappingclassUnionSubclassA subclass in a table-per-concrete-class mappingMethods 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 existsMethods in org.hibernate.mapping with parameters of type PersistentClass Modifier and Type Method Description voidOneToMany. setAssociatedClass(PersistentClass associatedClass)Associated entity on the many sidevoidCollection. setOwner(PersistentClass owner)Deprecated.Inject the owner into constructor.voidComponent. setOwner(PersistentClass owner)voidJoin. setPersistentClass(PersistentClass persistentClass)voidProperty. setPersistentClass(PersistentClass persistentClass)voidSubclass. setSuperclass(PersistentClass superclass) -
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 StringUnionSubclassEntityPersister. generateSubquery(PersistentClass model, Mapping mapping)protected voidAbstractEntityPersister. initSubclassPropertyAliasesMap(PersistentClass model)Must be called by subclasses, at the end of their constructorsConstructors in org.hibernate.persister.entity with parameters of type PersistentClass Constructor Description AbstractEntityPersister(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, PersisterCreationContext creationContext)JoinedSubclassEntityPersister(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, PersisterCreationContext creationContext)SingleTableEntityPersister(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, PersisterCreationContext creationContext)UnionSubclassEntityPersister(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, PersisterCreationContext creationContext) -
Uses of PersistentClass in org.hibernate.persister.spi
Methods in org.hibernate.persister.spi with parameters of type PersistentClass Modifier and Type Method Description EntityPersisterPersisterFactory. createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, PersisterCreationContext 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 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, IdentifierGenerator generator)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) -
Uses of PersistentClass in org.hibernate.tuple.entity
Methods in org.hibernate.tuple.entity with parameters of type PersistentClass Modifier and Type Method Description protected abstract InstantiatorAbstractEntityTuplizer. buildInstantiator(EntityMetamodel entityMetamodel, PersistentClass mappingInfo)Build an appropriate Instantiator for the given mapped entity.protected InstantiatorDynamicMapEntityTuplizer. buildInstantiator(EntityMetamodel entityMetamodel, PersistentClass mappingInfo)protected InstantiatorPojoEntityTuplizer. buildInstantiator(EntityMetamodel entityMetamodel, PersistentClass persistentClass)protected abstract GetterAbstractEntityTuplizer. buildPropertyGetter(Property mappedProperty, PersistentClass mappedEntity)Build an appropriate Getter for the given property.protected GetterDynamicMapEntityTuplizer. buildPropertyGetter(Property mappedProperty, PersistentClass mappedEntity)protected GetterPojoEntityTuplizer. buildPropertyGetter(Property mappedProperty, PersistentClass mappedEntity)protected abstract SetterAbstractEntityTuplizer. buildPropertySetter(Property mappedProperty, PersistentClass mappedEntity)Build an appropriate Setter for the given property.protected SetterDynamicMapEntityTuplizer. buildPropertySetter(Property mappedProperty, PersistentClass mappedEntity)protected SetterPojoEntityTuplizer. buildPropertySetter(Property mappedProperty, PersistentClass mappedEntity)protected abstract ProxyFactoryAbstractEntityTuplizer. buildProxyFactory(PersistentClass mappingInfo, Getter idGetter, Setter idSetter)Build an appropriate ProxyFactory for the given mapped entity.protected ProxyFactoryDynamicMapEntityTuplizer. buildProxyFactory(PersistentClass mappingInfo, Getter idGetter, Setter idSetter)protected ProxyFactoryPojoEntityTuplizer. buildProxyFactory(PersistentClass persistentClass, Getter idGetter, Setter idSetter)protected ProxyFactoryPojoEntityTuplizer. buildProxyFactoryInternal(PersistentClass persistentClass, Getter idGetter, Setter idSetter)EntityTuplizerEntityTuplizerFactory. constructDefaultTuplizer(EntityMode entityMode, EntityMetamodel metamodel, PersistentClass persistentClass)Construct an instance of the default tuplizer for the given entity-mode.EntityTuplizerEntityTuplizerFactory. constructTuplizer(Class<? extends EntityTuplizer> tuplizerClass, EntityMetamodel metamodel, PersistentClass persistentClass)Construct an instance of the given tuplizer class.EntityTuplizerEntityTuplizerFactory. constructTuplizer(String tuplizerClassName, EntityMetamodel metamodel, PersistentClass persistentClass)Construct an instance of the given tuplizer class.static BytecodeEnhancementMetadataBytecodeEnhancementMetadataPojoImpl. from(PersistentClass persistentClass, Set<String> identifierAttributeNames, CompositeType nonAggregatedCidMapper, boolean collectionsInDefaultFetchGroupEnabled, PersisterCreationContext creationContext)Static constructorConstructors in org.hibernate.tuple.entity with parameters of type PersistentClass Constructor Description AbstractEntityTuplizer(EntityMetamodel entityMetamodel, PersistentClass mappingInfo)Constructs a new AbstractEntityTuplizer instance.EntityMetamodel(PersistentClass persistentClass, EntityPersister persister, PersisterCreationContext creationContext)PojoEntityInstantiator(EntityMetamodel entityMetamodel, PersistentClass persistentClass, ReflectionOptimizer.InstantiationOptimizer optimizer)PojoEntityTuplizer(EntityMetamodel entityMetamodel, PersistentClass mappedEntity)
-