#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
@@ -40,7 +40,7 @@ public class TestCacheCollectionIds extends BaseTestCase {
custCache.clear();
custManyIdsCache.clear();
List<Customer> list = Ebean.find(Customer.class).setAutoTune(false).setBeanCacheMode(CacheMode.RECACHE)
List<Customer> list = Ebean.find(Customer.class).setAutoTune(false).setBeanCacheMode(CacheMode.PUT)
.order().asc("id").findList();
Assert.assertTrue(list.size() > 1);