Package org.hibernate.mapping
Interface KeyValue
- All Superinterfaces:
Serializable
,Value
- All Known Implementing Classes:
Any
,Any.KeyValue
,Any.MetaValue
,BasicValue
,Component
,DependantBasicValue
,DependantValue
,ManyToOne
,OneToOne
,SimpleValue
,ToOne
A mapping model
Value
which may be treated as an identifying key of a
relational database table. A KeyValue
might represent the primary key
of an entity or the foreign key of a collection, join table, secondary table,
or joined subclass table.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptioncreateForeignKeyOfEntity
(String entityName) createGenerator
(Dialect dialect, RootClass rootClass) Deprecated, for removal: This API element is subject to removal in a future version.No longer called, except from tests.createGenerator
(Dialect dialect, RootClass rootClass, Property property, GeneratorSettings defaults) boolean
boolean
Methods inherited from interface org.hibernate.mapping.Value
accept, checkColumnDuplication, copy, createForeignKey, createUniqueKey, getBuildingContext, getColumnInsertability, getColumns, getColumnSpan, getColumnUpdateability, getConstraintColumns, getExtraCreateTableInfo, getFetchMode, getSelectables, getSelectableType, getSelectableType, getServiceRegistry, getTable, getType, getVirtualSelectables, hasAnyInsertableColumns, hasAnyUpdatableColumns, hasFormula, isAlternateUniqueKey, isColumnInsertable, isColumnUpdateable, isNullable, isSame, isSimpleValue, isValid, isValid, setTypeUsingReflection
-
Method Details
-
createForeignKeyOfEntity
-
isCascadeDeleteEnabled
boolean isCascadeDeleteEnabled() -
getNullValueSemantic
KeyValue.NullValueSemantic getNullValueSemantic() -
getNullValue
String getNullValue() -
isUpdateable
boolean isUpdateable() -
createGenerator
@Deprecated(since="7.0", forRemoval=true) Generator createGenerator(Dialect dialect, RootClass rootClass) Deprecated, for removal: This API element is subject to removal in a future version.No longer called, except from tests. UsecreateGenerator(Dialect, RootClass, Property, GeneratorSettings)
-
createGenerator
@Incubating Generator createGenerator(Dialect dialect, RootClass rootClass, Property property, GeneratorSettings defaults)
-