#1233 - Remove deprecated CacheMode.RECACHE (migrate to CacheMode.PUT)

This commit is contained in:
Rob Bygrave
2018-01-09 19:50:26 +13:00
parent 932986a6b5
commit 8cff85fdda
10 changed files with 31 additions and 37 deletions
@@ -32,7 +32,7 @@ public class TestQueryFindReadOnly extends BaseTestCase {
Section s2 = ar1sections.get(0);
Assert.assertTrue("readonly cascading", Ebean.getBeanState(s2).isReadOnly());
Ebean.find(Article.class).setBeanCacheMode(CacheMode.RECACHE).findList();
Ebean.find(Article.class).setBeanCacheMode(CacheMode.PUT).findList();
Article ar0 = Ebean.find(Article.class, a0.getId());