类的使用
org.hibernate.mapping.SimpleValue
-
使用SimpleValue的程序包 程序包 说明 org.hibernate.boot.model.source.internal.hbm 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.mapping This package defines the Hibernate configuration-time metamodel. -
-
org.hibernate.boot.model.source.internal.hbm中SimpleValue的使用
参数类型为SimpleValue的org.hibernate.boot.model.source.internal.hbm中的方法 修饰符和类型 方法 说明 voidRelationalObjectBinder. bindColumn(MappingDocument sourceDocument, ColumnSource columnSource, SimpleValue simpleValue, boolean areColumnsNullableByDefault, RelationalObjectBinder.ColumnNamingDelegate columnNamingDelegate)voidRelationalObjectBinder. bindColumnOrFormula(MappingDocument sourceDocument, RelationalValueSource relationalValueSource, SimpleValue simpleValue, boolean areColumnsNullableByDefault, RelationalObjectBinder.ColumnNamingDelegate columnNamingDelegate)voidRelationalObjectBinder. bindColumns(MappingDocument sourceDocument, List<ColumnSource> columnSources, SimpleValue simpleValue, boolean areColumnsNullableByDefault, RelationalObjectBinder.ColumnNamingDelegate columnNamingDelegate)voidRelationalObjectBinder. bindColumnsAndFormulas(MappingDocument sourceDocument, List<RelationalValueSource> relationalValueSources, SimpleValue simpleValue, boolean areColumnsNullableByDefault, RelationalObjectBinder.ColumnNamingDelegate columnNamingDelegate) -
org.hibernate.cfg中SimpleValue的使用
声明为SimpleValue的org.hibernate.cfg中的字段 修饰符和类型 字段 说明 protected SimpleValueFkSecondPass. value参数类型为SimpleValue的org.hibernate.cfg中的方法 修饰符和类型 方法 说明 protected voidEjb3Column. addColumnBinding(SimpleValue value)protected voidEjb3JoinColumn. addColumnBinding(SimpleValue value)static voidAnnotationBinder. bindForeignKeyNameAndDefinition(SimpleValue value, org.hibernate.annotations.common.reflection.XProperty property, javax.persistence.ForeignKey fkOverride, javax.persistence.JoinColumn joinColumn, javax.persistence.JoinColumns joinColumns)voidEjb3JoinColumn. copyReferencedStructureAndCreateDefaultJoinColumns(PersistentClass referencedEntity, Iterator columnIterator, SimpleValue value)voidEjb3JoinColumn. linkValueUsingAColumnCopy(Column column, SimpleValue value)used for mappedBy casesvoidEjb3JoinColumn. linkValueUsingDefaultColumnNaming(Column referencedColumn, PersistentClass referencedEntity, SimpleValue value)voidEjb3Column. linkWithValue(SimpleValue value)static voidBinderHelper. makeIdGenerator(SimpleValue id, org.hibernate.annotations.common.reflection.XProperty idXProperty, String generatorType, String generatorName, MetadataBuildingContext buildingContext, Map<String,IdentifierGeneratorDefinition> localGenerators)apply an id generator to a SimpleValuestatic voidBinderHelper. makeIdGenerator(SimpleValue id, org.hibernate.annotations.common.reflection.XProperty idXProperty, String generatorType, String generatorName, MetadataBuildingContext buildingContext, IdentifierGeneratorDefinition foreignKGeneratorDefinition)apply an id generator to a SimpleValue参数类型为SimpleValue的org.hibernate.cfg中的构造器 构造器 说明 FkSecondPass(SimpleValue value, Ejb3JoinColumn[] columns)IdGeneratorResolverSecondPass(SimpleValue id, org.hibernate.annotations.common.reflection.XProperty idXProperty, String generatorType, String generatorName, MetadataBuildingContext buildingContext)IdGeneratorResolverSecondPass(SimpleValue id, org.hibernate.annotations.common.reflection.XProperty idXProperty, String generatorType, String generatorName, MetadataBuildingContext buildingContext, IdentifierGeneratorDefinition localIdentifierGeneratorDefinition)JoinedSubclassFkSecondPass(JoinedSubclass entity, Ejb3JoinColumn[] inheritanceJoinedColumns, SimpleValue key, MetadataBuildingContext buildingContext)PkDrivenByDefaultMapsIdSecondPass(String referencedEntityName, Ejb3JoinColumn[] columns, SimpleValue value) -
org.hibernate.cfg.annotations中SimpleValue的使用
返回SimpleValue的org.hibernate.cfg.annotations中的方法 修饰符和类型 方法 说明 SimpleValueSimpleValueBinder. make()参数类型为SimpleValue的org.hibernate.cfg.annotations中的方法 修饰符和类型 方法 说明 static voidTableBinder. bindFk(PersistentClass referencedEntity, PersistentClass destinationEntity, Ejb3JoinColumn[] columns, SimpleValue value, boolean unique, MetadataBuildingContext buildingContext)static voidCollectionBinder. bindManytoManyInverseFk(PersistentClass referencedEntity, Ejb3JoinColumn[] columns, SimpleValue value, boolean unique, MetadataBuildingContext buildingContext)bind the inverse FK of a ManyToMany If we are in a mappedBy case, read the columns from the associated collection element Otherwise delegates to the usual algorithmstatic voidTableBinder. linkJoinColumnWithValueOverridingNameIfImplicit(PersistentClass referencedEntity, Iterator columnIterator, Ejb3JoinColumn[] columns, SimpleValue value) -
org.hibernate.mapping中SimpleValue的使用
org.hibernate.mapping中SimpleValue的子类 修饰符和类型 类 说明 classAnyA Hibernate "any" type (ie. polymorphic association to one-of-several tables).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).classManyToOneA many-to-one association mappingclassOneToOneA one-to-one association mappingclassToOneA simple-point association (ie. a reference to another entity).参数类型为SimpleValue的org.hibernate.mapping中的方法 修饰符和类型 方法 说明 ObjectValueVisitor. accept(SimpleValue value)voidSimpleValue. copyTypeFrom(SimpleValue sourceValue)booleanAny. isSame(SimpleValue other)booleanComponent. isSame(SimpleValue other)booleanDependantValue. isSame(SimpleValue other)booleanSimpleValue. isSame(SimpleValue other)booleanToOne. isSame(SimpleValue other)
-