HHH-4084 Corrected test compiling error
This commit is contained in:
parent
7c6d65f938
commit
97770fe6a9
|
@ -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