Package org.hibernate.tuple
Class PropertyFactory
java.lang.Object
org.hibernate.tuple.PropertyFactory
Deprecated, for removal: This API element is subject to removal in a future version.
No direct replacement
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic NonIdentifierAttribute
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 IdentifierProperty
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.static VersionProperty
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.
-
Method Details
-
buildIdentifierAttribute
public static IdentifierProperty 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.- Parameters:
mappedEntity
- The mapping definition of the entity.generator
- The identifier value generator to use for this identifier.- Returns:
- The appropriate IdentifierProperty definition.
-
buildVersionProperty
public static VersionProperty 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.- Parameters:
property
- The version mapping Property.lazyAvailable
- Is property lazy loading currently available.- Returns:
- The appropriate VersionProperty definition.
-
buildEntityBasedAttribute
public static NonIdentifierAttribute 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 entity- Parameters:
property
- The mapped property.lazyAvailable
- Is property lazy loading currently available.- Returns:
- The appropriate NonIdentifierProperty definition.
-