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

public Interface ColumnInformation

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

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
()

The column size (length).

public TableInformation

Returns:

The containing table information
getContainingTableInformation
()

Access to the containing table.

public int

Returns:

The numeric precision
getDecimalDigits
()

The precision, for numeric types

public TruthValue

Returns:

nullability.
getNullable
()

Is the column nullable.

public int

Returns:

JDBC type-code
getTypeCode
()

The JDBC type-code.

public String

Returns:

Type name
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()

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()

The precision, for numeric types

Returns:int

The numeric precision

getNullableback to summary
public TruthValue 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()

The JDBC type-code.

Returns:int

JDBC type-code

getTypeNameback to summary
public String getTypeName()

The database specific type name.

Returns:String

Type name