From 31a75390f72504831ba4965280f906614529ac5b Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Fri, 15 Apr 2016 11:01:20 +0100 Subject: [PATCH] HHH-10684 - Fix No target script generated for update action when using schema-generation --- .../tool/schema/spi/SchemaManagementToolCoordinator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/tool/schema/spi/SchemaManagementToolCoordinator.java b/hibernate-core/src/main/java/org/hibernate/tool/schema/spi/SchemaManagementToolCoordinator.java index 519a1feb9a..b4a6a789a4 100644 --- a/hibernate-core/src/main/java/org/hibernate/tool/schema/spi/SchemaManagementToolCoordinator.java +++ b/hibernate-core/src/main/java/org/hibernate/tool/schema/spi/SchemaManagementToolCoordinator.java @@ -61,8 +61,8 @@ public class SchemaManagementToolCoordinator { ExceptionHandlerLoggedImpl.INSTANCE ); - performDatabaseAction( actions.getDatabaseAction(), metadata, tool, serviceRegistry, executionOptions ); performScriptAction( actions.getScriptAction(), metadata, tool, serviceRegistry, executionOptions ); + performDatabaseAction( actions.getDatabaseAction(), metadata, tool, serviceRegistry, executionOptions ); if ( actions.getDatabaseAction() == Action.CREATE_DROP ) { //noinspection unchecked