mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-20 23:05:23 +00:00
#1233 - Remove deprecated CacheMode.RECACHE (migrate to CacheMode.PUT)
This commit is contained in:
1 parent
932986a6b5
commit
8cff85fdda
10 files changed
+31
-37
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user