Class EntityTableMapping.KeyColumn
java.lang.Object
org.hibernate.persister.entity.mutation.EntityTableMapping.KeyColumn
- All Implemented Interfaces:
SelectableMapping,SqlTypedMapping,TableDetails.KeyColumn
- Enclosing class:
EntityTableMapping
-
Constructor Summary
ConstructorsConstructorDescriptionKeyColumn(String tableName, String columnName, String writeExpression, boolean formula, JdbcMapping jdbcMapping) -
Method Summary
Modifier and TypeMethodDescriptionThe name of the columnThe name of the table to which this selectable is mappedThe selection's read expression accounting for formula treatment as well asColumnTransformer.read()The selection's write expression accountingColumnTransformer.write()Describes the mapping between object and relational for this columngetScale()The selection's expression.booleanIs the mapping a formula instead of a physical column?booleanbooleanIs the mapping considered nullable?booleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.metamodel.mapping.SelectableMapping
getSelectableName, getSelectablePathMethods inherited from interface org.hibernate.metamodel.mapping.SqlTypedMapping
isLob, toSize
-
Constructor Details
-
KeyColumn
public KeyColumn(String tableName, String columnName, String writeExpression, boolean formula, JdbcMapping jdbcMapping)
-
-
Method Details
-
getColumnName
Description copied from interface:TableDetails.KeyColumnThe name of the column- Specified by:
getColumnNamein interfaceTableDetails.KeyColumn
-
getContainingTableExpression
Description copied from interface:SelectableMappingThe name of the table to which this selectable is mapped- Specified by:
getContainingTableExpressionin interfaceSelectableMapping
-
getWriteExpression
- Specified by:
getWriteExpressionin interfaceSelectableMapping
-
getSelectionExpression
Description copied from interface:SelectableMappingThe selection's expression. This is the column name or formula- Specified by:
getSelectionExpressionin interfaceSelectableMapping
-
getJdbcMapping
Description copied from interface:TableDetails.KeyColumnDescribes the mapping between object and relational for this column- Specified by:
getJdbcMappingin interfaceSqlTypedMapping- Specified by:
getJdbcMappingin interfaceTableDetails.KeyColumn
-
isFormula
public boolean isFormula()Description copied from interface:SelectableMappingIs the mapping a formula instead of a physical column?- Specified by:
isFormulain interfaceSelectableMapping
-
isNullable
public boolean isNullable()Description copied from interface:SelectableMappingIs the mapping considered nullable?- Specified by:
isNullablein interfaceSelectableMapping
-
isInsertable
public boolean isInsertable()- Specified by:
isInsertablein interfaceSelectableMapping
-
isUpdateable
public boolean isUpdateable()- Specified by:
isUpdateablein interfaceSelectableMapping
-
isPartitioned
public boolean isPartitioned()- Specified by:
isPartitionedin interfaceSelectableMapping
-
getColumnDefinition
- Specified by:
getColumnDefinitionin interfaceSqlTypedMapping
-
getLength
- Specified by:
getLengthin interfaceSqlTypedMapping
-
getPrecision
- Specified by:
getPrecisionin interfaceSqlTypedMapping
-
getScale
- Specified by:
getScalein interfaceSqlTypedMapping
-
getTemporalPrecision
- Specified by:
getTemporalPrecisionin interfaceSqlTypedMapping
-
getCustomReadExpression
Description copied from interface:SelectableMappingThe selection's read expression accounting for formula treatment as well asColumnTransformer.read()- Specified by:
getCustomReadExpressionin interfaceSelectableMapping
-
getCustomWriteExpression
Description copied from interface:SelectableMappingThe selection's write expression accountingColumnTransformer.write()- Specified by:
getCustomWriteExpressionin interfaceSelectableMapping
-