HHH-4084 Corrected test compiling error
This commit is contained in:
parent
0e2fd9f970
commit
07539904ba
|
@ -42,7 +42,7 @@ public class UniqueConstraintValidationTest extends BaseUnitTestCase {
|
|||
cfg.addAnnotatedClass(entity);
|
||||
cfg.buildMappings();
|
||||
ServiceRegistryImplementor serviceRegistry = (ServiceRegistryImplementor) new StandardServiceRegistryBuilder()
|
||||
.applySettings(cfg.getProperties()).buildServiceRegistry();
|
||||
.applySettings(cfg.getProperties()).build();
|
||||
cfg.buildSessionFactory(serviceRegistry);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue