HHH-11766 : Pre-pend default cache prefix to entity names in tests

This commit is contained in:
Gail Badner 2018-04-20 16:31:01 -07:00
parent e8929e6eec
commit e06062d6f6
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ public class UninitializedAssociationsInCacheTest extends BaseCoreFunctionalTest
sessionFactory().getCache().evictAll();
sessionFactory().getStatistics().clear();
SecondLevelCacheStatistics regionStatistics = sessionFactory().getStatistics().getSecondLevelCacheStatistics(
"Employee"
"hibernate.test.Employee"
);
TransactionUtil.doInHibernate(

View File

@ -80,7 +80,7 @@ public class UninitializedLazyBasicCacheTest extends BaseCoreFunctionalTestCase
);
SecondLevelCacheStatistics regionStatistics = sessionFactory().getStatistics().getSecondLevelCacheStatistics(
"Person"
"hibernate.test.Person"
);
assertEquals( 0, regionStatistics.getHitCount() );
assertEquals( 1, regionStatistics.getMissCount() );