HHH-10601 - Fix Persistence.generateSchema - the output file contains duplicated DDL statements
This commit is contained in:
parent
998a55e307
commit
ffb7470ce8
|
@ -841,7 +841,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