类 PropertyFactory
- java.lang.Object
-
- org.hibernate.tuple.PropertyFactory
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classPropertyFactory.NonIdentifierAttributeNature
-
方法概要
所有方法 静态方法 具体方法 已过时的方法 修饰符和类型 方法 说明 static NonIdentifierAttributebuildEntityBasedAttribute(EntityPersister persister, SessionFactoryImplementor sessionFactory, int attributeNumber, Property property, boolean lazyAvailable)Generate a non-identifier (and non-version) attribute based on the given mapped property from the given entitystatic IdentifierPropertybuildIdentifierAttribute(PersistentClass mappedEntity, IdentifierGenerator generator)Generates the attribute representation of the identifier for a given entity mapping.static StandardPropertybuildStandardProperty(Property property, boolean lazyAvailable)static VersionPropertybuildVersionProperty(EntityPersister persister, SessionFactoryImplementor sessionFactory, int attributeNumber, Property property, boolean lazyAvailable)Generates a VersionProperty representation for an entity mapping given its version mapping Property.
-
-
-
方法详细资料
-
buildIdentifierAttribute
public static IdentifierProperty buildIdentifierAttribute(PersistentClass mappedEntity, IdentifierGenerator generator)
Generates the attribute representation of the identifier for a given entity mapping.- 参数:
mappedEntity- The mapping definition of the entity.generator- The identifier value generator to use for this identifier.- 返回:
- The appropriate IdentifierProperty definition.
-
buildVersionProperty
public static VersionProperty buildVersionProperty(EntityPersister persister, SessionFactoryImplementor sessionFactory, int attributeNumber, Property property, boolean lazyAvailable)
Generates a VersionProperty representation for an entity mapping given its version mapping Property.- 参数:
property- The version mapping Property.lazyAvailable- Is property lazy loading currently available.- 返回:
- The appropriate VersionProperty definition.
-
buildEntityBasedAttribute
public static NonIdentifierAttribute buildEntityBasedAttribute(EntityPersister persister, SessionFactoryImplementor sessionFactory, int attributeNumber, Property property, boolean lazyAvailable)
Generate a non-identifier (and non-version) attribute based on the given mapped property from the given entity- 参数:
property- The mapped property.lazyAvailable- Is property lazy loading currently available.- 返回:
- The appropriate NonIdentifierProperty definition.
-
buildStandardProperty
@Deprecated public static StandardProperty buildStandardProperty(Property property, boolean lazyAvailable)
-
-