类的使用
org.hibernate.mapping.Property
-
使用Property的程序包 程序包 说明 org.hibernate.boot.spi org.hibernate.bytecode.enhance.spi.interceptor interceptor implementationsorg.hibernate.cfg This package defines APIs for configuring Hibernate, and classes for building the Hibernate configuration-time metamodel.org.hibernate.cfg.annotations org.hibernate.jpa.event.spi The SPI contracts for supporting JPA lifecycle callbacks.org.hibernate.mapping This package defines the Hibernate configuration-time metamodel.org.hibernate.metamodel.internal org.hibernate.metamodel.model.domain.internal org.hibernate.tuple This package defines a runtime metamodel for entities at the object level and abstracts the differences between the various entity modes.org.hibernate.tuple.component org.hibernate.tuple.entity -
-
org.hibernate.boot.spi中Property的使用
参数类型为Property的org.hibernate.boot.spi中的方法 修饰符和类型 方法 说明 voidNaturalIdUniqueKeyBinder. addAttributeBinding(Property attributeBinding)Adds an attribute binding. -
org.hibernate.bytecode.enhance.spi.interceptor中Property的使用
参数类型为Property的org.hibernate.bytecode.enhance.spi.interceptor中的方法 修饰符和类型 方法 说明 static LazyAttributeDescriptorLazyAttributeDescriptor. from(Property property, int attributeIndex, int lazyIndex)static booleanEnhancementHelper. includeInBaseFetchGroup(Property bootMapping, boolean isEnhanced, boolean allowEnhancementAsProxy)Should the given property be included in the owner's base fetch group? -
org.hibernate.cfg中Property的使用
返回Property的org.hibernate.cfg中的方法 修饰符和类型 方法 说明 static 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 IndetifierProperty in the loop If propertyName is null or empty, the IdentifierProperty is returnedstatic PropertyBinderHelper. shallowCopy(Property property)create a property copy reusing the same value参数类型为Property的org.hibernate.cfg中的方法 修饰符和类型 方法 说明 voidClassPropertyHolder. addProperty(Property prop, org.hibernate.annotations.common.reflection.XClass declaringClass)voidClassPropertyHolder. addProperty(Property prop, Ejb3Column[] columns, org.hibernate.annotations.common.reflection.XClass declaringClass)voidCollectionPropertyHolder. addProperty(Property prop, org.hibernate.annotations.common.reflection.XClass declaringClass)voidCollectionPropertyHolder. addProperty(Property prop, Ejb3Column[] columns, org.hibernate.annotations.common.reflection.XClass declaringClass)voidComponentPropertyHolder. addProperty(Property prop, org.hibernate.annotations.common.reflection.XClass declaringClass)voidComponentPropertyHolder. addProperty(Property prop, Ejb3Column[] columns, org.hibernate.annotations.common.reflection.XClass declaringClass)voidPropertyHolder. addProperty(Property prop, org.hibernate.annotations.common.reflection.XClass declaringClass)voidPropertyHolder. addProperty(Property prop, Ejb3Column[] columns, org.hibernate.annotations.common.reflection.XClass declaringClass)static PropertyBinderHelper. shallowCopy(Property property)create a property copy reusing the same value -
org.hibernate.cfg.annotations中Property的使用
返回Property的org.hibernate.cfg.annotations中的方法 修饰符和类型 方法 说明 PropertyPropertyBinder. makeProperty()PropertyPropertyBinder. makePropertyAndBind()PropertyPropertyBinder. makePropertyValueAndBind() -
org.hibernate.jpa.event.spi中Property的使用
参数类型为Property的org.hibernate.jpa.event.spi中的方法 修饰符和类型 方法 说明 voidCallbackBuilder. buildCallbacksForEmbeddable(Property embeddableProperty, String entityClassName, CallbackBuilder.CallbackRegistrar callbackRegistrar) -
org.hibernate.mapping中Property的使用
org.hibernate.mapping中Property的子类 修饰符和类型 类 说明 classBackrefclassIndexBackrefclassSyntheticPropertyModels a property which does not actually exist in the model.参数类型为Property的org.hibernate.mapping中的方法 修饰符和类型 方法 说明 voidMappedSuperclass. addDeclaredProperty(Property p)voidJoin. addMappedsuperclassProperty(Property prop)voidPersistentClass. addMappedsuperclassProperty(Property p)voidSubclass. addMappedsuperclassProperty(Property p)voidAttributeContainer. addProperty(Property attribute)voidComponent. addProperty(Property p)voidJoin. addProperty(Property prop)voidPersistentClass. addProperty(Property p)voidSubclass. addProperty(Property p)protected voidPersistentClass. addSubclassProperty(Property prop)protected voidSubclass. addSubclassProperty(Property p)booleanJoin. containsProperty(Property prop)intPersistentClass. getJoinNumber(Property prop)voidMappedSuperclass. setDeclaredIdentifierProperty(Property prop)voidRootClass. setDeclaredIdentifierProperty(Property declaredIdentifierProperty)voidMappedSuperclass. setDeclaredVersion(Property prop)voidRootClass. setDeclaredVersion(Property declaredVersion)voidRootClass. setIdentifierProperty(Property identifierProperty)voidRootClass. setVersion(Property version) -
org.hibernate.metamodel.internal中Property的使用
参数类型为Property的org.hibernate.metamodel.internal中的方法 修饰符和类型 方法 说明 <X,Y>
PersistentAttributeDescriptor<X,Y>AttributeFactory. buildAttribute(ManagedTypeDescriptor<X> ownerType, Property property)Build a normal attribute.<X,Y>
SingularPersistentAttribute<X,Y>AttributeFactory. buildIdAttribute(IdentifiableTypeDescriptor<X> ownerType, Property property)Build the identifier attribute descriptor<X,Y>
SingularAttributeImpl<X,Y>AttributeFactory. buildVersionAttribute(IdentifiableTypeDescriptor<X> ownerType, Property property)Build the version attribute descriptor -
org.hibernate.metamodel.model.domain.internal中Property的使用
返回Property的org.hibernate.metamodel.model.domain.internal中的方法 修饰符和类型 方法 说明 PropertyPluralAttributeBuilder. getProperty()参数类型为Property的org.hibernate.metamodel.model.domain.internal中的方法 修饰符和类型 方法 说明 PluralAttributeBuilder<D,C,E,K>PluralAttributeBuilder. property(Property property) -
org.hibernate.tuple中Property的使用
参数类型为Property的org.hibernate.tuple中的方法 修饰符和类型 方法 说明 static NonIdentifierAttributePropertyFactory. 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 entitystatic StandardPropertyPropertyFactory. buildStandardProperty(Property property, boolean lazyAvailable)static VersionPropertyPropertyFactory. buildVersionProperty(EntityPersister persister, SessionFactoryImplementor sessionFactory, int attributeNumber, Property property, boolean lazyAvailable)Generates a VersionProperty representation for an entity mapping given its version mapping Property. -
org.hibernate.tuple.component中Property的使用
参数类型为Property的org.hibernate.tuple.component中的方法 修饰符和类型 方法 说明 protected abstract GetterAbstractComponentTuplizer. buildGetter(Component component, Property prop)protected GetterDynamicMapComponentTuplizer. buildGetter(Component component, Property prop)protected GetterPojoComponentTuplizer. buildGetter(Component component, Property prop)protected abstract SetterAbstractComponentTuplizer. buildSetter(Component component, Property prop)protected SetterDynamicMapComponentTuplizer. buildSetter(Component component, Property prop)protected SetterPojoComponentTuplizer. buildSetter(Component component, Property prop) -
org.hibernate.tuple.entity中Property的使用
参数类型为Property的org.hibernate.tuple.entity中的方法 修饰符和类型 方法 说明 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)static org.hibernate.tuple.entity.EntityMetamodel.InDatabaseValueGenerationStrategyImplEntityMetamodel. create(SessionFactoryImplementor sessionFactoryImplementor, Property mappingProperty, ValueGeneration valueGeneration)
-