From a0d6412ca6c6f8d911b5b86b65859c0aadf14959 Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Fri, 25 Mar 2016 12:29:31 +0100 Subject: [PATCH] HHH-10601 - Fix Persistence.generateSchema - the output file contains duplicated DDL statements --- .../jpa/boot/internal/EntityManagerFactoryBuilderImpl.java | 1 - 1 file changed, 1 deletion(-) diff --git a/hibernate-entitymanager/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderImpl.java b/hibernate-entitymanager/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderImpl.java index 89c8cc9568..9790fcfd43 100644 --- a/hibernate-entitymanager/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderImpl.java +++ b/hibernate-entitymanager/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderImpl.java @@ -857,7 +857,6 @@ public class EntityManagerFactoryBuilderImpl implements EntityManagerFactoryBuil try { SessionFactoryBuilder sfBuilder = metadata().getSessionFactoryBuilder(); populate( sfBuilder, standardServiceRegistry ); - sfBuilder.build(); SchemaManagementToolCoordinator.process( metadata, standardServiceRegistry, configurationValues, DelayedDropRegistryNotAvailableImpl.INSTANCE