Top Description Methods
org.hibernate.boot.model.relational

public Interface ColumnOrderingStrategy

Known Direct Implementers
org.hibernate.boot.model.relational.ColumnOrderingStrategyLegacy, org.hibernate.boot.model.relational.ColumnOrderingStrategyStandard
Annotations
@Incubating
Imports
java.util.List, org.hibernate.Incubating, org.hibernate.boot.Metadata, org.hibernate.dialect.temptable.TemporaryTableColumn, org.hibernate.mapping.Column, .Constraint, .Table, .UserDefinedType

A pluggable contract that allows ordering of columns within org.hibernate.mapping.Table, org.hibernate.mapping.Constraint and org.hibernate.mapping.UserDefinedType.

An ColumnOrderingStrategy may be selected using the configuration property hibernate.column_ordering_strategy.

See Also
org.hibernate.cfg.Configuration#setColumnOrderingStrategy(ColumnOrderingStrategy), org.hibernate.boot.MetadataBuilder#applyColumnOrderingStrategy(ColumnOrderingStrategy), org.hibernate.cfg.AvailableSettings#COLUMN_ORDERING_STRATEGY

Method Summary

Modifier and TypeMethod and Description
public List<Column>
orderConstraintColumns(Constraint constraint, Metadata metadata)

Deprecated as a consequence of Metadata being deprecated.
Orders the columns of the constraint.
public List<Column>
orderTableColumns(Table table, Metadata metadata)

Deprecated as a consequence of Metadata being deprecated.
Orders the columns of the table.
public void
orderTemporaryTableColumns(List<TemporaryTableColumn> temporaryTableColumns, Metadata metadata)

Deprecated as a consequence of Metadata being deprecated.
Orders the columns of the temporary table.
public List<Column>
orderUserDefinedTypeColumns(UserDefinedType userDefinedType, Metadata metadata)

Deprecated as a consequence of Metadata being deprecated.
Orders the columns of the user defined type.

Method Detail

orderConstraintColumnsback to summary
public List<Column> orderConstraintColumns(Constraint constraint, Metadata metadata)

Deprecated

as a consequence of Metadata being deprecated. See corresponding docs for further information.

Orders the columns of the constraint. May return null if columns were not ordered.

orderTableColumnsback to summary
public List<Column> orderTableColumns(Table table, Metadata metadata)

Deprecated

as a consequence of Metadata being deprecated. See corresponding docs for further information.

Orders the columns of the table. May return null if columns were not ordered.

orderTemporaryTableColumnsback to summary
public void orderTemporaryTableColumns(List<TemporaryTableColumn> temporaryTableColumns, Metadata metadata)

Deprecated

as a consequence of Metadata being deprecated. See corresponding docs for further information.

Orders the columns of the temporary table.

orderUserDefinedTypeColumnsback to summary
public List<Column> orderUserDefinedTypeColumns(UserDefinedType userDefinedType, Metadata metadata)

Deprecated

as a consequence of Metadata being deprecated. See corresponding docs for further information.

Orders the columns of the user defined type. May return null if columns were not ordered.