#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
@@ -24,7 +24,7 @@ public class TestLazyLoadInCache extends BaseTestCase {
Map<Integer, Customer> map = Ebean.find(Customer.class)
.select("id, name")
.setBeanCacheMode(CacheMode.RECACHE)
.setBeanCacheMode(CacheMode.PUT)
.setReadOnly(true)
.orderBy().asc("id")
.findMap();