HHH-11882 - Fix test causing failures

This commit is contained in:
Andrea Boriero 2017-08-08 14:35:29 +02:00
parent af4f63aff7
commit bc05ff24bc
1 changed files with 0 additions and 2 deletions

View File

@ -50,8 +50,6 @@ public class TestLazyPropertyOnPreUpdate extends BaseEntityManagerFunctionalTest
@Before @Before
public void prepare() throws Exception { public void prepare() throws Exception {
buildEntityManagerFactory();
EntityPersister ep = entityManagerFactory().getMetamodel().entityPersister( EntityWithLazyProperty.class.getName() ); EntityPersister ep = entityManagerFactory().getMetamodel().entityPersister( EntityWithLazyProperty.class.getName() );
assertTrue( ep.getInstrumentationMetadata().isEnhancedForLazyLoading() ); assertTrue( ep.getInstrumentationMetadata().isEnhancedForLazyLoading() );