mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#684 - Refactor - rename @CacheStrategy to @Cache ... require explicit enableQueryCache=true for query cache use
This commit is contained in:
@@ -28,9 +28,6 @@ public class TestBatchLazyWithCacheHits extends BaseTestCase {
|
||||
inserted.add(insert(names[i]));
|
||||
}
|
||||
|
||||
ServerCacheManager serverCacheManager = Ebean.getServerCacheManager();
|
||||
serverCacheManager.setCaching(UUOne.class, true);
|
||||
|
||||
UUOne b = Ebean.find(UUOne.class)
|
||||
.setId(inserted.get(1).getId())
|
||||
.setUseCache(true)
|
||||
|
||||
Reference in New Issue
Block a user