mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1233 - Remove deprecated CacheMode.RECACHE (migrate to CacheMode.PUT)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user