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.
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 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. -
Uses of Property in org.hibernate.binder.internal
Methods in org.hibernate.binder.internal with parameters of type PropertyModifier and TypeMethodDescriptionvoidAttributeAccessorBinder.bind(AttributeAccessor accessor, MetadataBuildingContext buildingContext, PersistentClass persistentClass, Property property) voidBatchSizeBinder.bind(BatchSize batchSize, MetadataBuildingContext context, PersistentClass persistentClass, Property property) voidCollateBinder.bind(Collate collate, MetadataBuildingContext context, PersistentClass entity, Property property) voidCommentBinder.bind(Comment comment, MetadataBuildingContext context, PersistentClass entity, Property property) voidCommentsBinder.bind(Comments comments, MetadataBuildingContext context, PersistentClass entity, Property property) voidTenantIdBinder.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 thebootModelPropertyrecord component.Constructors in org.hibernate.boot.jaxb.hbm.transform with parameters of type PropertyModifierConstructorDescriptionColumnDefaultsProperty(Property property) PropertyInfo(Property bootModelProperty) Creates an instance of aPropertyInforecord class. -
Uses of Property in org.hibernate.boot.model.internal
Methods in org.hibernate.boot.model.internal that return PropertyModifier and TypeMethodDescriptionstatic PropertyBinderHelper.findPropertyByName(Component component, String propertyName) Retrieve the property by path in a recursive waystatic 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 returnedPropertyBinder.makeProperty()PropertyBinder.makePropertyAndBind()static PropertyBinderHelper.shallowCopy(Property property) Methods in org.hibernate.boot.model.internal with parameters of type PropertyModifier and TypeMethodDescriptionvoidClassPropertyHolder.addProperty(Property prop, org.hibernate.models.spi.MemberDetails memberDetails, @Nullable AnnotatedColumns columns, org.hibernate.models.spi.ClassDetails declaringClass) voidClassPropertyHolder.addProperty(Property prop, org.hibernate.models.spi.MemberDetails memberDetails, org.hibernate.models.spi.ClassDetails declaringClass) voidCollectionPropertyHolder.addProperty(Property prop, org.hibernate.models.spi.MemberDetails memberDetails, @Nullable AnnotatedColumns columns, org.hibernate.models.spi.ClassDetails declaringClass) voidCollectionPropertyHolder.addProperty(Property prop, org.hibernate.models.spi.MemberDetails memberDetails, org.hibernate.models.spi.ClassDetails declaringClass) voidComponentPropertyHolder.addProperty(Property property, org.hibernate.models.spi.MemberDetails attributeMemberDetails, @Nullable AnnotatedColumns columns, org.hibernate.models.spi.ClassDetails declaringClass) voidComponentPropertyHolder.addProperty(Property prop, org.hibernate.models.spi.MemberDetails attributeMemberDetails, org.hibernate.models.spi.ClassDetails declaringClass) voidPropertyHolder.addProperty(Property prop, org.hibernate.models.spi.MemberDetails memberDetails, @Nullable AnnotatedColumns columns, org.hibernate.models.spi.ClassDetails declaringClass) voidPropertyHolder.addProperty(Property prop, org.hibernate.models.spi.MemberDetails memberDetails, org.hibernate.models.spi.ClassDetails declaringClass) static voidClassPropertyHolder.addPropertyToMappedSuperclass(Property prop, org.hibernate.models.spi.MemberDetails memberDetails, org.hibernate.models.spi.ClassDetails declaringClass, MetadataBuildingContext context) static voidClassPropertyHolder.handleGenericComponentProperty(Property property, org.hibernate.models.spi.MemberDetails memberDetails, MetadataBuildingContext context) Embeddable classes can be defined using generics.static PropertyBinderHelper.shallowCopy(Property property) -
Uses of Property in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi with parameters of type PropertyModifier and TypeMethodDescriptionvoidNaturalIdUniqueKeyBinder.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 LazyAttributeDescriptorstatic booleanEnhancementHelper.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 booleanAuditedPropertiesReader.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.mapping
Subclasses of Property in org.hibernate.mappingModifier and TypeClassDescriptionclassclassclassModels a property which does not actually exist in the model.Methods in org.hibernate.mapping that return PropertyModifier and TypeMethodDescriptionProperty.copy()MappedSuperclass.getDeclaredIdentifierProperty()abstract PropertyPersistentClass.getDeclaredIdentifierProperty()RootClass.getDeclaredIdentifierProperty()Subclass.getDeclaredIdentifierProperty()MappedSuperclass.getDeclaredVersion()abstract PropertyPersistentClass.getDeclaredVersion()RootClass.getDeclaredVersion()Subclass.getDeclaredVersion()MappedSuperclass.getIdentifierProperty()abstract PropertyPersistentClass.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 PropertyPersistentClass.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 TypeMethodDescriptionvoidMappedSuperclass.addDeclaredProperty(Property p) voidJoin.addMappedSuperclassProperty(Property property) voidPersistentClass.addMappedSuperclassProperty(Property p) voidSubclass.addMappedSuperclassProperty(Property property) voidAttributeContainer.addProperty(Property property) Add a property to thisPersistentClassorJoin.voidComponent.addProperty(Property p) voidComponent.addProperty(Property p, org.hibernate.models.spi.ClassDetails declaringClass) voidJoin.addProperty(Property property) voidPersistentClass.addProperty(Property property) voidSubclass.addProperty(Property property) protected voidPersistentClass.addSubclassProperty(Property prop) protected voidSubclass.addSubclassProperty(Property p) voidIdentifiableTypeClass.applyProperty(Property property) voidMappedSuperclass.applyProperty(Property property) voidPersistentClass.applyProperty(Property property) booleanbooleanbooleanbooleanJoin.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) intPersistentClass.getJoinNumber(Property prop) Component.getPropertyDeclaringClass(Property p) voidPersistentClass.removeProperty(Property property) voidMappedSuperclass.setDeclaredIdentifierProperty(Property prop) voidRootClass.setDeclaredIdentifierProperty(Property declaredIdentifierProperty) voidMappedSuperclass.setDeclaredVersion(Property prop) voidRootClass.setDeclaredVersion(Property declaredVersion) voidRootClass.setIdentifierProperty(Property identifierProperty) voidRootClass.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 PropertyModifierConstructorDescriptionprotectedBaseAttributeMetadata(Property propertyMapping, ManagedDomainType<X> ownerType, Member member, AttributeClassification attributeClassification) -
Uses of Property in org.hibernate.metamodel.mapping.internal
Methods in org.hibernate.metamodel.mapping.internal with parameters of type PropertyModifier and TypeMethodDescriptionstatic BasicAttributeMappingMappingModelCreationHelper.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 EmbeddedAttributeMappingMappingModelCreationHelper.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 EmbeddedAttributeMappingMappingModelCreationHelper.buildEmbeddedAttributeMapping(String attrName, int stateArrayPosition, int fetchableIndex, Property bootProperty, ManagedMappingType declaringType, CompositeType attrType, String tableExpression, String[] rootTableKeyColumnNames, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, MappingModelCreationProcess creationProcess) static EntityIdentifierMappingMappingModelCreationHelper.buildEncapsulatedCompositeIdentifierMapping(EntityPersister entityPersister, Property bootProperty, String attributeName, String rootTableName, String[] rootTableKeyColumnNames, CompositeType cidType, MappingModelCreationProcess creationProcess) static PluralAttributeMappingMappingModelCreationHelper.buildPluralAttributeMapping(String attrName, int stateArrayPosition, int fetchableIndex, Property bootProperty, ManagedMappingType declaringType, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, FetchMode fetchMode, MappingModelCreationProcess creationProcess) static PluralAttributeMappingMappingModelCreationHelper.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 ToOneAttributeMappingMappingModelCreationHelper.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 ToOneAttributeMappingMappingModelCreationHelper.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) voidPluralAttributeMappingImpl.finishInitialization(Property bootProperty, Collection bootDescriptor, MappingModelCreationProcess creationProcess) static EmbeddableMappingTypeImplEmbeddableMappingTypeImpl.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 AttributeMetadataMappingModelCreationHelper.getAttributeMetadata(Property bootProperty, Type attrType, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, MappingModelCreationProcess creationProcess) static booleanMappingModelCreationHelper.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, SqmDomainType<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 EmbeddedAttributeMappingAbstractEntityPersister.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 AttributeMappingAbstractEntityPersister.buildPluralAttributeMapping(String attrName, int stateArrayPosition, int fetchableIndex, Property bootProperty, ManagedMappingType declaringType, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, FetchMode fetchMode, MappingModelCreationProcess creationProcess) For Hibernate Reactiveprotected AttributeMappingAbstractEntityPersister.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 AttributeMappingAbstractEntityPersister.generateNonIdAttributeMapping(NonIdentifierAttribute tupleAttrDefinition, Property bootProperty, int stateArrayPosition, int fetchableIndex, MappingModelCreationProcess creationProcess) -
Uses of Property in org.hibernate.tuple
Methods in org.hibernate.tuple with parameters of type PropertyModifier and TypeMethodDescriptionstatic NonIdentifierAttributePropertyFactory.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 VersionPropertyPropertyFactory.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.