#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
+1 -1
View File
@@ -24,7 +24,7 @@ public class TestCacheNaturalId extends BaseTestCase {
ServerCache contactCache = Ebean.getServerCacheManager().getBeanCache(Contact.class);
List<Contact> list = Ebean.find(Contact.class).setBeanCacheMode(CacheMode.RECACHE).findList();
List<Contact> list = Ebean.find(Contact.class).setBeanCacheMode(CacheMode.PUT).findList();
assertTrue(contactCache.size() > 0);