Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 05f7d78

Browse files
committed
HHH-18686 - align behaviour of SchemaTool and SchemaExportTask with respect to ordering columns and metadata validation
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
1 parent 2c897c2 commit 05f7d78

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)

AltStyle によって変換されたページ (->オリジナル) /