Interface ColumnOrderingStrategy
-
- All Known Implementing Classes:
ColumnOrderingStrategyLegacy
,ColumnOrderingStrategyStandard
@Incubating public interface ColumnOrderingStrategy
A pluggable contract that allows ordering of columns withinTable
,Constraint
andUserDefinedType
.An ColumnOrderingStrategy may be selected using the configuration property "hibernate.column_ordering_strategy".
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Column>
orderConstraintColumns(Constraint constraint, Metadata metadata)
Orders the columns of the constraint.List<Column>
orderTableColumns(Table table, Metadata metadata)
Orders the columns of the table.void
orderTemporaryTableColumns(List<TemporaryTableColumn> temporaryTableColumns, Metadata metadata)
Orders the columns of the temporary table.List<Column>
orderUserDefinedTypeColumns(UserDefinedType userDefinedType, Metadata metadata)
Orders the columns of the user defined type.
-
-
-
Method Detail
-
orderTableColumns
List<Column> orderTableColumns(Table table, Metadata metadata)
Orders the columns of the table. May return null if columns were not ordered.
-
orderConstraintColumns
List<Column> orderConstraintColumns(Constraint constraint, Metadata metadata)
Orders the columns of the constraint. May return null if columns were not ordered.
-
orderUserDefinedTypeColumns
List<Column> orderUserDefinedTypeColumns(UserDefinedType userDefinedType, Metadata metadata)
Orders the columns of the user defined type. May return null if columns were not ordered.
-
orderTemporaryTableColumns
void orderTemporaryTableColumns(List<TemporaryTableColumn> temporaryTableColumns, Metadata metadata)
Orders the columns of the temporary table.
-
-