Uses of Class
org.hibernate.mapping.Property
Packages that use Property
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
.A range of SPIs allowing integration with—and customization of—the process of building metadata.
Support for bytecode interceptor implementations.
This package defines an abstraction over all kinds of automatic
value generation, including id generation and version number
generation.
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.
Most contracts here have been replaced by the new runtime
mapping model.
-
Uses of Property in org.hibernate.binder
Methods in org.hibernate.binder with parameters of type PropertyModifier 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. -
Uses of Property in org.hibernate.binder.internal
Methods in org.hibernate.binder.internal with parameters of type PropertyModifier and TypeMethodDescriptionvoid
AttributeAccessorBinder.bind
(AttributeAccessor accessor, MetadataBuildingContext buildingContext, PersistentClass persistentClass, Property property) 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, Property property) void
CommentsBinder.bind
(Comments comments, MetadataBuildingContext context, PersistentClass entity, Property property) void
TenantIdBinder.bind
(TenantId tenantId, MetadataBuildingContext buildingContext, PersistentClass persistentClass, Property property) -
Uses of Property in org.hibernate.boot.jaxb.hbm.transform
Methods in org.hibernate.boot.jaxb.hbm.transform that return PropertyModifier and TypeMethodDescriptionPropertyInfo.bootModelProperty()
Returns the value of thebootModelProperty
record component.Constructors in org.hibernate.boot.jaxb.hbm.transform with parameters of type PropertyModifierConstructorDescriptionColumnDefaultsProperty
(Property property) PropertyInfo
(Property bootModelProperty) Creates an instance of aPropertyInfo
record class. -
Uses of Property in org.hibernate.boot.model.internal
Methods in org.hibernate.boot.model.internal that return PropertyModifier and TypeMethodDescriptionstatic Property
BinderHelper.findPropertyByName
(Component component, String propertyName) Retrieve the property by path in a recursive waystatic 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 returnedPropertyBinder.makeProperty()
PropertyBinder.makePropertyAndBind()
PropertyBinder.makePropertyValueAndBind()
static Property
BinderHelper.shallowCopy
(Property property) Methods in org.hibernate.boot.model.internal with parameters of type PropertyModifier and TypeMethodDescriptionvoid
ClassPropertyHolder.addProperty
(Property prop, org.hibernate.models.spi.MemberDetails memberDetails, AnnotatedColumns columns, org.hibernate.models.spi.ClassDetails declaringClass) void
ClassPropertyHolder.addProperty
(Property prop, org.hibernate.models.spi.MemberDetails memberDetails, org.hibernate.models.spi.ClassDetails declaringClass) void
CollectionPropertyHolder.addProperty
(Property prop, org.hibernate.models.spi.MemberDetails memberDetails, AnnotatedColumns columns, org.hibernate.models.spi.ClassDetails declaringClass) void
CollectionPropertyHolder.addProperty
(Property prop, org.hibernate.models.spi.MemberDetails memberDetails, org.hibernate.models.spi.ClassDetails declaringClass) void
ComponentPropertyHolder.addProperty
(Property property, org.hibernate.models.spi.MemberDetails attributeMemberDetails, AnnotatedColumns columns, org.hibernate.models.spi.ClassDetails declaringClass) void
ComponentPropertyHolder.addProperty
(Property prop, org.hibernate.models.spi.MemberDetails attributeMemberDetails, org.hibernate.models.spi.ClassDetails declaringClass) void
PropertyHolder.addProperty
(Property prop, org.hibernate.models.spi.MemberDetails memberDetails, AnnotatedColumns columns, org.hibernate.models.spi.ClassDetails declaringClass) void
PropertyHolder.addProperty
(Property prop, org.hibernate.models.spi.MemberDetails memberDetails, org.hibernate.models.spi.ClassDetails declaringClass) static void
ClassPropertyHolder.addPropertyToMappedSuperclass
(Property prop, org.hibernate.models.spi.MemberDetails memberDetails, org.hibernate.models.spi.ClassDetails declaringClass, MetadataBuildingContext context) static void
ClassPropertyHolder.handleGenericComponentProperty
(Property property, org.hibernate.models.spi.MemberDetails memberDetails, MetadataBuildingContext context) Embeddable classes can be defined using generics.static Property
BinderHelper.shallowCopy
(Property property) -
Uses of Property in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi with parameters of type PropertyModifier and TypeMethodDescriptionvoid
NaturalIdUniqueKeyBinder.addAttributeBinding
(Property attributeBinding) Adds an attribute binding. -
Uses of Property in org.hibernate.bytecode.enhance.spi.interceptor
Methods in org.hibernate.bytecode.enhance.spi.interceptor with parameters of type PropertyModifier and TypeMethodDescriptionstatic LazyAttributeDescriptor
static boolean
EnhancementHelper.includeInBaseFetchGroup
(Property bootMapping, boolean isEnhanced, EnhancementHelper.InheritanceChecker inheritanceChecker, boolean collectionsInDefaultFetchGroupEnabled) Should the given property be included in the owner's base fetch group? -
Uses of Property in org.hibernate.envers.configuration.internal.metadata.reader
Methods in org.hibernate.envers.configuration.internal.metadata.reader that return PropertyMethods in org.hibernate.envers.configuration.internal.metadata.reader that return types with arguments of type PropertyMethods in org.hibernate.envers.configuration.internal.metadata.reader with parameters of type PropertyModifier and TypeMethodDescriptionprotected boolean
AuditedPropertiesReader.checkAudited
(Property property, PropertyAuditingData propertyData, String propertyName, Audited allClassAudited, String modifiedFlagSuffix) -
Uses of Property in org.hibernate.generator
Methods in org.hibernate.generator that return PropertyModifier and TypeMethodDescriptionGeneratorCreationContext.getProperty()
The entity identifier or id-bag property details. -
Uses of Property in org.hibernate.jpa.event.internal
Methods in org.hibernate.jpa.event.internal with parameters of type PropertyModifier and TypeMethodDescriptionstatic List<CallbackDefinition>
CallbackDefinitionResolver.resolveEmbeddableCallbacks
(MetadataBuildingContext metadataBuildingContext, Class<?> entityClass, Property embeddableProperty, CallbackType callbackType) -
Uses of Property in org.hibernate.mapping
Subclasses of Property in org.hibernate.mappingModifier and TypeClassDescriptionclass
class
class
Models a property which does not actually exist in the model.Methods in org.hibernate.mapping that return PropertyModifier and TypeMethodDescriptionProperty.copy()
MappedSuperclass.getDeclaredIdentifierProperty()
abstract Property
PersistentClass.getDeclaredIdentifierProperty()
RootClass.getDeclaredIdentifierProperty()
Subclass.getDeclaredIdentifierProperty()
MappedSuperclass.getDeclaredVersion()
abstract Property
PersistentClass.getDeclaredVersion()
RootClass.getDeclaredVersion()
Subclass.getDeclaredVersion()
MappedSuperclass.getIdentifierProperty()
abstract Property
PersistentClass.getIdentifierProperty()
RootClass.getIdentifierProperty()
Subclass.getIdentifierProperty()
Component.getProperty
(int index) Component.getProperty
(String propertyName) PersistentClass.getProperty
(String propertyName) PersistentClass.getRecursiveProperty
(String propertyPath) PersistentClass.getReferencedProperty
(String propertyPath) Given a property path, locate the appropriate referenceable property reference.MappedSuperclass.getVersion()
abstract Property
PersistentClass.getVersion()
RootClass.getVersion()
Subclass.getVersion()
Methods in org.hibernate.mapping that return types with arguments of type PropertyModifier and TypeMethodDescriptionIdentifiableTypeClass.getDeclaredProperties()
Join.getDeclaredProperties()
MappedSuperclass.getDeclaredProperties()
PersistentClass.getDeclaredProperties()
PersistentClass.getNonDuplicatedProperties()
SingleTableSubclass.getNonDuplicatedProperties()
UnionSubclass.getNonDuplicatedProperties()
Component.getProperties()
Join.getProperties()
PersistentClass.getProperties()
Build a list of the properties defined on this class.PersistentClass.getPropertyClosure()
RootClass.getPropertyClosure()
Subclass.getPropertyClosure()
JoinedSubclass.getReferenceableProperties()
PersistentClass.getReferenceableProperties()
Build a list of properties which may be referenced in association mappings.PersistentClass.getSubclassPropertyClosure()
PersistentClass.getUnjoinedProperties()
Get a list of the properties defined on this class which are not defined as part of a join.Methods in org.hibernate.mapping with parameters of type PropertyModifier and TypeMethodDescriptionvoid
MappedSuperclass.addDeclaredProperty
(Property p) void
Join.addMappedSuperclassProperty
(Property property) void
PersistentClass.addMappedSuperclassProperty
(Property p) void
Subclass.addMappedSuperclassProperty
(Property property) void
AttributeContainer.addProperty
(Property property) Add a property to thisPersistentClass
orJoin
.void
Component.addProperty
(Property p) void
Component.addProperty
(Property p, org.hibernate.models.spi.ClassDetails declaringClass) void
Join.addProperty
(Property property) void
PersistentClass.addProperty
(Property property) void
Subclass.addProperty
(Property property) protected void
PersistentClass.addSubclassProperty
(Property prop) protected void
Subclass.addSubclassProperty
(Property p) void
IdentifiableTypeClass.applyProperty
(Property property) void
MappedSuperclass.applyProperty
(Property property) void
PersistentClass.applyProperty
(Property property) boolean
boolean
boolean
boolean
Join.containsProperty
(Property property) Component.createGenerator
(Dialect dialect, RootClass rootClass, Property property, GeneratorSettings defaults) KeyValue.createGenerator
(Dialect dialect, RootClass rootClass, Property property, GeneratorSettings defaults) SimpleValue.createGenerator
(Dialect dialect, RootClass rootClass, Property property, GeneratorSettings defaults) int
PersistentClass.getJoinNumber
(Property prop) Component.getPropertyDeclaringClass
(Property p) void
MappedSuperclass.setDeclaredIdentifierProperty
(Property prop) void
RootClass.setDeclaredIdentifierProperty
(Property declaredIdentifierProperty) void
MappedSuperclass.setDeclaredVersion
(Property prop) void
RootClass.setDeclaredVersion
(Property declaredVersion) void
RootClass.setIdentifierProperty
(Property identifierProperty) void
RootClass.setVersion
(Property version) Method parameters in org.hibernate.mapping with type arguments of type Property -
Uses of Property in org.hibernate.metamodel.internal
Methods in org.hibernate.metamodel.internal that return PropertyModifier and TypeMethodDescriptionAttributeContext.getPropertyMapping()
Retrieve the Hibernate property mapping.AttributeMetadata.getPropertyMapping()
Retrieve the Hibernate property mapping related to this attribute.BaseAttributeMetadata.getPropertyMapping()
Methods in org.hibernate.metamodel.internal with parameters of type PropertyModifier and TypeMethodDescription<X,
Y> PersistentAttribute<X, Y> AttributeFactory.buildAttribute
(ManagedDomainType<X> ownerType, Property property) Build a normal attribute.static <X,
Y> PersistentAttribute<X, Y> AttributeFactory.buildAttribute
(ManagedDomainType<X> ownerType, Property property, MetadataContext metadataContext) <X,
Y> SingularPersistentAttribute<X, Y> AttributeFactory.buildIdAttribute
(IdentifiableDomainType<X> ownerType, Property property) Build the identifier attribute descriptor<X,
Y> SingularAttributeImpl<X, Y> AttributeFactory.buildVersionAttribute
(IdentifiableDomainType<X> ownerType, Property property) Build the version attribute descriptorEmbeddableRepresentationStrategyMap.resolvePropertyAccess
(Property bootAttributeDescriptor) EmbeddableRepresentationStrategyPojo.resolvePropertyAccess
(Property bootAttributeDescriptor) EntityRepresentationStrategyMap.resolvePropertyAccess
(Property bootAttributeDescriptor) EntityRepresentationStrategyPojoStandard.resolvePropertyAccess
(Property bootAttributeDescriptor) Constructors in org.hibernate.metamodel.internal with parameters of type PropertyModifierConstructorDescriptionprotected
BaseAttributeMetadata
(Property propertyMapping, ManagedDomainType<X> ownerType, Member member, AttributeClassification attributeClassification, MetadataContext metadataContext) -
Uses of Property in org.hibernate.metamodel.mapping.internal
Methods in org.hibernate.metamodel.mapping.internal with parameters of type PropertyModifier and TypeMethodDescriptionstatic BasicAttributeMapping
MappingModelCreationHelper.buildBasicAttributeMapping
(String attrName, NavigableRole navigableRole, int stateArrayPosition, int fetchableIndex, Property bootProperty, ManagedMappingType declaringType, BasicType attrType, String tableExpression, String attrColumnName, SelectablePath selectablePath, boolean isAttrFormula, String readExpr, String writeExpr, String columnDefinition, Long length, Integer precision, Integer scale, Integer temporalPrecision, boolean isLob, boolean nullable, boolean insertable, boolean updateable, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, MappingModelCreationProcess creationProcess) static EmbeddedAttributeMapping
MappingModelCreationHelper.buildEmbeddedAttributeMapping
(String attrName, int stateArrayPosition, int fetchableIndex, Property bootProperty, DependantValue dependantValue, int dependantColumnIndex, ManagedMappingType declaringType, CompositeType attrType, String tableExpression, String[] rootTableKeyColumnNames, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, MappingModelCreationProcess creationProcess) static EmbeddedAttributeMapping
MappingModelCreationHelper.buildEmbeddedAttributeMapping
(String attrName, int stateArrayPosition, int fetchableIndex, Property bootProperty, ManagedMappingType declaringType, CompositeType attrType, String tableExpression, String[] rootTableKeyColumnNames, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, MappingModelCreationProcess creationProcess) static EntityIdentifierMapping
MappingModelCreationHelper.buildEncapsulatedCompositeIdentifierMapping
(EntityPersister entityPersister, Property bootProperty, String attributeName, String rootTableName, String[] rootTableKeyColumnNames, CompositeType cidType, MappingModelCreationProcess creationProcess) static PluralAttributeMapping
MappingModelCreationHelper.buildPluralAttributeMapping
(String attrName, int stateArrayPosition, int fetchableIndex, Property bootProperty, ManagedMappingType declaringType, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, FetchMode fetchMode, MappingModelCreationProcess creationProcess) static PluralAttributeMapping
MappingModelCreationHelper.buildPluralAttributeMapping
(String attrName, int stateArrayPosition, int fetchableIndex, Property bootProperty, ManagedMappingType declaringType, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, FetchMode fetchMode, MappingModelCreationProcess creationProcess, Function<PluralAttributeMappingImpl, PluralAttributeMappingImpl> mappingConverter) For Hibernate Reactivestatic ToOneAttributeMapping
MappingModelCreationHelper.buildSingularAssociationAttributeMapping
(String attrName, NavigableRole navigableRole, int stateArrayPosition, int fetchableIndex, Property bootProperty, ManagedMappingType declaringType, EntityPersister declaringEntityPersister, EntityType attrType, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, MappingModelCreationProcess creationProcess) For Hibernate Reactivestatic ToOneAttributeMapping
MappingModelCreationHelper.buildSingularAssociationAttributeMapping
(String attrName, NavigableRole navigableRole, int stateArrayPosition, int fetchableIndex, Property bootProperty, ManagedMappingType declaringType, EntityPersister declaringEntityPersister, EntityType attrType, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, MappingModelCreationProcess creationProcess, Function<ToOneAttributeMapping, ToOneAttributeMapping> mappingConverter) void
PluralAttributeMappingImpl.finishInitialization
(Property bootProperty, Collection bootDescriptor, MappingModelCreationProcess creationProcess) static EmbeddableMappingTypeImpl
EmbeddableMappingTypeImpl.from
(Component bootDescriptor, CompositeType compositeType, String rootTableExpression, String[] rootTableKeyColumnNames, Property componentProperty, DependantValue dependantValue, int dependantColumnIndex, boolean[] insertability, boolean[] updateability, Function<EmbeddableMappingType, EmbeddableValuedModelPart> embeddedPartBuilder, MappingModelCreationProcess creationProcess) protected static AttributeMetadata
MappingModelCreationHelper.getAttributeMetadata
(Property bootProperty, Type attrType, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, MappingModelCreationProcess creationProcess) static boolean
MappingModelCreationHelper.interpretToOneKeyDescriptor
(ToOneAttributeMapping attributeMapping, Property bootProperty, ToOne bootValueMapping, PropertyAccess inversePropertyAccess, Dialect dialect, MappingModelCreationProcess creationProcess) Tries toToOneAttributeMapping.setForeignKeyDescriptor(org.hibernate.metamodel.mapping.ForeignKeyDescriptor)
to the given attributeattributeMapping
.IdClassRepresentationStrategy.resolvePropertyAccess
(Property bootAttributeDescriptor) VirtualIdRepresentationStrategy.resolvePropertyAccess
(Property bootAttributeDescriptor) Constructors in org.hibernate.metamodel.mapping.internal with parameters of type PropertyModifierConstructorDescriptionDiscriminatedAssociationAttributeMapping
(NavigableRole attributeRole, JavaType<?> baseAssociationJtd, ManagedMappingType declaringType, int stateArrayPosition, int fetchableIndex, AttributeMetadata attributeMetadata, FetchTiming fetchTiming, PropertyAccess propertyAccess, Property bootProperty, AnyType anyType, Any bootValueMapping, MappingModelCreationProcess creationProcess) SimpleAttributeMetadata
(PropertyAccess propertyAccess, MutabilityPlan mutabilityPlan, Property bootProperty, Value value) -
Uses of Property in org.hibernate.metamodel.model.domain.internal
Methods in org.hibernate.metamodel.model.domain.internal that return PropertyConstructors in org.hibernate.metamodel.model.domain.internal with parameters of type PropertyModifierConstructorDescriptionPluralAttributeBuilder
(JavaType<C> collectionJtd, boolean isGeneric, AttributeClassification attributeClassification, CollectionClassification collectionClassification, DomainType<E> elementType, DomainType<K> listIndexOrMapKeyType, ManagedDomainType<D> declaringType, Property property, Member member) -
Uses of Property in org.hibernate.metamodel.spi
Methods in org.hibernate.metamodel.spi with parameters of type PropertyModifier and TypeMethodDescriptionManagedTypeRepresentationStrategy.resolvePropertyAccess
(Property bootAttributeDescriptor) Create the property accessor object for the specified attribute -
Uses of Property in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity with parameters of type PropertyModifier and TypeMethodDescriptionprotected EmbeddedAttributeMapping
AbstractEntityPersister.buildEmbeddedAttributeMapping
(String attrName, int stateArrayPosition, int fetchableIndex, Property bootProperty, DependantValue dependantValue, int dependantColumnIndex, ManagedMappingType declaringType, CompositeType attrType, String tableExpression, String[] rootTableKeyColumnNames, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, MappingModelCreationProcess creationProcess) For Hibernate Reactiveprotected AttributeMapping
AbstractEntityPersister.buildPluralAttributeMapping
(String attrName, int stateArrayPosition, int fetchableIndex, Property bootProperty, ManagedMappingType declaringType, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, FetchMode fetchMode, MappingModelCreationProcess creationProcess) For Hibernate Reactiveprotected AttributeMapping
AbstractEntityPersister.buildSingularAssociationAttributeMapping
(String attrName, NavigableRole navigableRole, int stateArrayPosition, int fetchableIndex, Property bootProperty, ManagedMappingType declaringType, EntityPersister declaringEntityPersister, EntityType attrType, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, MappingModelCreationProcess creationProcess) For Hibernate Reactiveprotected AttributeMapping
AbstractEntityPersister.generateNonIdAttributeMapping
(NonIdentifierAttribute tupleAttrDefinition, Property bootProperty, int stateArrayPosition, int fetchableIndex, MappingModelCreationProcess creationProcess) -
Uses of Property in org.hibernate.testing.util.uuid
Methods in org.hibernate.testing.util.uuid that return Property -
Uses of Property in org.hibernate.tuple
Methods in org.hibernate.tuple with parameters of type PropertyModifier and TypeMethodDescriptionstatic NonIdentifierAttribute
PropertyFactory.buildEntityBasedAttribute
(EntityPersister persister, SessionFactoryImplementor sessionFactory, int attributeNumber, Property property, boolean lazyAvailable, RuntimeModelCreationContext creationContext) Deprecated, for removal: This API element is subject to removal in a future version.Generate a non-identifier (and non-version) attribute based on the given mapped property from the given entitystatic VersionProperty
PropertyFactory.buildVersionProperty
(EntityPersister persister, SessionFactoryImplementor sessionFactory, int attributeNumber, Property property, boolean lazyAvailable) Deprecated, for removal: This API element is subject to removal in a future version.Generates a VersionProperty representation for an entity mapping given its version mapping Property.