Skip to content

Commit 0189680

Browse files
committed
HHH-18686 - align behaviour of SchemaTool and SchemaExportTask with respect to ordering columns and metadata validation
Signed-off-by: Jan Schatteman <[email protected]>
1 parent 0fd5404 commit 0189680

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tooling/hibernate-ant/src/main/java/org/hibernate/tool/hbm2ddl/SchemaExport.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,8 @@ public static void execute(CommandLineArgs commandLineArgs) throws Exception {
390390
StandardServiceRegistry serviceRegistry = buildStandardServiceRegistry( commandLineArgs );
391391
try {
392392
final MetadataImplementor metadata = buildMetadata( commandLineArgs, serviceRegistry );
393+
metadata.orderColumns( false );
394+
metadata.validate();
393395

394396
new SchemaExport()
395397
.setHaltOnError( commandLineArgs.halt )

0 commit comments

Comments
 (0)