Interface ColumnOrderingStrategy
- All Known Implementing Classes:
ColumnOrderingStrategyLegacy
,ColumnOrderingStrategyStandard
A pluggable contract that allows ordering of columns within
Table
,
Constraint
and UserDefinedObjectType
.
An ColumnOrderingStrategy may be selected using the configuration property "hibernate.column_ordering_strategy".
-
Method Summary
Modifier and TypeMethodDescriptionorderConstraintColumns
(Constraint constraint, Metadata metadata) Orders the columns of the constraint.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.orderUserDefinedTypeColumns
(UserDefinedObjectType userDefinedType, Metadata metadata) Orders the columns of the user defined type.
-
Method Details
-
orderTableColumns
Orders the columns of the table. May return null if columns were not ordered. -
orderConstraintColumns
Orders the columns of the constraint. May return null if columns were not ordered. -
orderUserDefinedTypeColumns
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.
-