Class TemporaryTableColumn
java.lang.Object
org.hibernate.dialect.temptable.TemporaryTableColumn
- All Implemented Interfaces:
SqlTypedMapping
- Direct Known Subclasses:
TemporaryTableSessionUidColumn
A column in a IdTable. As these columns mirror the entity id columns, we know a few things about it inherently,
such as being non-nullable
-
Constructor Summary
ConstructorsConstructorDescriptionTemporaryTableColumn(TemporaryTable containingTable, String columnName, JdbcMapping jdbcMapping, String sqlTypeName, Size size, boolean nullable) TemporaryTableColumn(TemporaryTable containingTable, String columnName, JdbcMapping jdbcMapping, String sqlTypeName, Size size, boolean nullable, boolean primaryKey) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SqlTypedMapping
isLob, toSize
-
Constructor Details
-
TemporaryTableColumn
public TemporaryTableColumn(TemporaryTable containingTable, String columnName, JdbcMapping jdbcMapping, String sqlTypeName, Size size, boolean nullable) -
TemporaryTableColumn
public TemporaryTableColumn(TemporaryTable containingTable, String columnName, JdbcMapping jdbcMapping, String sqlTypeName, Size size, boolean nullable, boolean primaryKey)
-
-
Method Details
-
getContainingTable
-
getColumnName
-
getJdbcMapping
- Specified by:
getJdbcMappingin interfaceSqlTypedMapping
-
getDefaultValue
-
getSqlTypeDefinition
-
getSize
-
isNullable
public boolean isNullable() -
isPrimaryKey
public boolean isPrimaryKey() -
getColumnDefinition
- Specified by:
getColumnDefinitionin interfaceSqlTypedMapping
-
getLength
- Specified by:
getLengthin interfaceSqlTypedMapping
-
getArrayLength
- Specified by:
getArrayLengthin interfaceSqlTypedMapping
-
getPrecision
- Specified by:
getPrecisionin interfaceSqlTypedMapping
-
getScale
- Specified by:
getScalein interfaceSqlTypedMapping
-
getTemporalPrecision
- Specified by:
getTemporalPrecisionin interfaceSqlTypedMapping
-