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".
- See Also:
-
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.<C extends TemporaryTableColumnDescriptor>
voidorderTemporaryTableColumns(List<C> 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
-
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
<C extends TemporaryTableColumnDescriptor> void orderTemporaryTableColumns(List<C> temporaryTableColumns, Metadata metadata) Orders the columns of the temporary table.
-