接口的使用
org.hibernate.mapping.Value
-
使用Value的程序包 程序包 说明 org.hibernate.cfg This package defines APIs for configuring Hibernate, and classes for building the Hibernate configuration-time metamodel.org.hibernate.cfg.annotations org.hibernate.id This package contains internal implementation classes for the main API interfaces.org.hibernate.mapping This package defines the Hibernate configuration-time metamodel. -
-
org.hibernate.cfg中Value的使用
返回Value的org.hibernate.cfg中的方法 修饰符和类型 方法 说明 ValueFkSecondPass. getValue()参数类型为Value的org.hibernate.cfg中的方法 修饰符和类型 方法 说明 static Ejb3JoinColumnEjb3JoinColumn. buildJoinColumn(javax.persistence.PrimaryKeyJoinColumn pkJoinAnn, javax.persistence.JoinColumn joinAnn, Value identifier, Map<String,Join> joins, PropertyHolder propertyHolder, MetadataBuildingContext context)Build JoinColumn for a JOINED hierarchystatic voidBinderHelper. createSyntheticPropertyReference(Ejb3JoinColumn[] columns, PersistentClass ownerEntity, PersistentClass associatedEntity, Value value, boolean inverse, MetadataBuildingContext context) -
org.hibernate.cfg.annotations中Value的使用
返回Value的org.hibernate.cfg.annotations中的方法 修饰符和类型 方法 说明 protected ValueMapBinder. createFormulatedValue(Value value, Collection collection, String targetPropertyName, PersistentClass associatedClass, PersistentClass targetPropertyPersistentClass, MetadataBuildingContext buildingContext)ValuePropertyBinder. getValue()参数类型为Value的org.hibernate.cfg.annotations中的方法 修饰符和类型 方法 说明 protected ValueMapBinder. createFormulatedValue(Value value, Collection collection, String targetPropertyName, PersistentClass associatedClass, PersistentClass targetPropertyPersistentClass, MetadataBuildingContext buildingContext)static voidTableBinder. createUniqueConstraint(Value value)voidPropertyBinder. setValue(Value value) -
org.hibernate.id中Value的使用
实现Value的org.hibernate.id中的类 修饰符和类型 类 说明 static classExportableColumn.ValueImpl参数类型为Value的org.hibernate.id中的方法 修饰符和类型 方法 说明 booleanExportableColumn.ValueImpl. isSame(Value value) -
org.hibernate.mapping中Value的使用
org.hibernate.mapping中Value的子接口 修饰符和类型 接口 说明 interfaceKeyValueRepresents an identifying key of a table: the value for primary key of an entity, or a foreign key of a collection or join table or joined subclass table.实现Value的org.hibernate.mapping中的类 修饰符和类型 类 说明 classAnyA Hibernate "any" type (ie. polymorphic association to one-of-several tables).classArrayAn array mapping has a primary key consisting of the key columns + index column.classBagA bag permits duplicates, so it has no primary keyclassCollectionMapping for a collection.classComponentThe mapping for a component, composite element, composite identifier, etc.classDependantValueA value which is "typed" by reference to some other value (for example, a foreign key is typed by the referenced primary key).classIdentifierBagAn IdentifierBag has a primary key consisting of just the identifier columnclassIdentifierCollectionA collection with a synthetic "identifier" columnclassIndexedCollectionIndexed collections include Lists, Maps, arrays and primitive arrays.classListA list mapping has a primary key consisting of the key columns + index column.classManyToOneA many-to-one association mappingclassMapA map has a primary key consisting of the key columns + index columns.classOneToManyA mapping for a one-to-many associationclassOneToOneA one-to-one association mappingclassPrimitiveArrayA primitive array has a primary key consisting of the key columns + index column.classSetA set with no nullable element columns.classSimpleValueAny value that maps to columns.classToOneA simple-point association (ie. a reference to another entity).返回Value的org.hibernate.mapping中的方法 修饰符和类型 方法 说明 abstract ValuePersistentClass. getDiscriminator()ValueRootClass. getDiscriminator()ValueSubclass. getDiscriminator()ValueCollection. getElement()ValueIndexedCollection. getIndex()ValueColumn. getValue()ValueProperty. getValue()参数类型为Value的org.hibernate.mapping中的方法 修饰符和类型 方法 说明 booleanCollection. isSame(Value other)protected static booleanCollection. isSame(Value v1, Value v2)booleanOneToMany. isSame(Value other)booleanSimpleValue. isSame(Value other)protected static booleanSimpleValue. isSame(Value v1, Value v2)booleanValue. isSame(Value other)voidRootClass. setDiscriminator(Value discriminator)voidCollection. setElement(Value element)voidIndexedCollection. setIndex(Value index)voidColumn. setValue(Value value)voidProperty. setValue(Value value)
-