HHH-4084 Corrected test compiling error

This commit is contained in:
Brett Meyer 2013-02-14 17:37:45 -05:00
parent 0e2fd9f970
commit 07539904ba
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ public class UniqueConstraintValidationTest extends BaseUnitTestCase {
cfg.addAnnotatedClass(entity); cfg.addAnnotatedClass(entity);
cfg.buildMappings(); cfg.buildMappings();
ServiceRegistryImplementor serviceRegistry = (ServiceRegistryImplementor) new StandardServiceRegistryBuilder() ServiceRegistryImplementor serviceRegistry = (ServiceRegistryImplementor) new StandardServiceRegistryBuilder()
.applySettings(cfg.getProperties()).buildServiceRegistry(); .applySettings(cfg.getProperties()).build();
cfg.buildSessionFactory(serviceRegistry); cfg.buildSessionFactory(serviceRegistry);
} }