Top Description Fields Methods
org.hibernate.tool.schema.extract.spi

public Interface ColumnInformation

extends ColumnTypeInformation
Known Direct Implementers
org.hibernate.tool.schema.extract.internal.ColumnInformationImpl
Imports
org.hibernate.boot.model.TruthValue, org.hibernate.boot.model.naming.Identifier

Provides access to information about existing table columns
Authors
Christoph Sturm, Steve Ebersole

Field Summary

Inherited from org.hibernate.tool.schema.extract.spi.ColumnTypeInformation:
EMPTY

Method Summary

Modifier and TypeMethod and Description
public Identifier

Returns:

The column simple identifier.
getColumnIdentifier
()

The simple (not qualified) column name.

public int

Returns:

The column length
getColumnSize
()

Redeclares org.hibernate.tool.schema.extract.spi.ColumnTypeInformation.getColumnSize.

The column size (length).
public TableInformation

Returns:

The containing table information
getContainingTableInformation
()

Access to the containing table.

public int

Returns:

The numeric precision
getDecimalDigits
()

Redeclares org.hibernate.tool.schema.extract.spi.ColumnTypeInformation.getDecimalDigits.

The precision, for numeric types
public TruthValue

Returns:

nullability.
getNullable
()

Redeclares org.hibernate.tool.schema.extract.spi.ColumnTypeInformation.getNullable.

Is the column nullable.
public int

Returns:

JDBC type-code
getTypeCode
()

Redeclares org.hibernate.tool.schema.extract.spi.ColumnTypeInformation.getTypeCode.

The JDBC type-code.
public String

Returns:

Type name
getTypeName
()

Redeclares org.hibernate.tool.schema.extract.spi.ColumnTypeInformation.getTypeName.

The database specific type name.

Method Detail

getColumnIdentifierback to summary
public Identifier getColumnIdentifier()

The simple (not qualified) column name.

Returns:Identifier

The column simple identifier.

getColumnSizeback to summary
public int getColumnSize()

Redeclares org.hibernate.tool.schema.extract.spi.ColumnTypeInformation.getColumnSize.

The column size (length).

Returns:int

The column length

getContainingTableInformationback to summary
public TableInformation getContainingTableInformation()

Access to the containing table.

Returns:TableInformation

The containing table information

getDecimalDigitsback to summary
public int getDecimalDigits()

Redeclares org.hibernate.tool.schema.extract.spi.ColumnTypeInformation.getDecimalDigits.

The precision, for numeric types

Returns:int

The numeric precision

getNullableback to summary
public TruthValue getNullable()

Redeclares org.hibernate.tool.schema.extract.spi.ColumnTypeInformation.getNullable.

Is the column nullable. The database is allowed to report unknown, hence the use of TruthValue

Returns:TruthValue

nullability.

getTypeCodeback to summary
public int getTypeCode()

Redeclares org.hibernate.tool.schema.extract.spi.ColumnTypeInformation.getTypeCode.

The JDBC type-code.

Returns:int

JDBC type-code

getTypeNameback to summary
public String getTypeName()

Redeclares org.hibernate.tool.schema.extract.spi.ColumnTypeInformation.getTypeName.

The database specific type name.

Returns:String

Type name