HHH-10601 - Fix Persistence.generateSchema - the output file contains duplicated DDL statements
This commit is contained in:
parent
729b03e20b
commit
a0d6412ca6
|
@ -857,7 +857,6 @@ public class EntityManagerFactoryBuilderImpl implements EntityManagerFactoryBuil
|
||||||
try {
|
try {
|
||||||
SessionFactoryBuilder sfBuilder = metadata().getSessionFactoryBuilder();
|
SessionFactoryBuilder sfBuilder = metadata().getSessionFactoryBuilder();
|
||||||
populate( sfBuilder, standardServiceRegistry );
|
populate( sfBuilder, standardServiceRegistry );
|
||||||
sfBuilder.build();
|
|
||||||
|
|
||||||
SchemaManagementToolCoordinator.process(
|
SchemaManagementToolCoordinator.process(
|
||||||
metadata, standardServiceRegistry, configurationValues, DelayedDropRegistryNotAvailableImpl.INSTANCE
|
metadata, standardServiceRegistry, configurationValues, DelayedDropRegistryNotAvailableImpl.INSTANCE
|
||||||
|
|
Loading…
Reference in New Issue