mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#411 - Refactor AutoFetch, rename to "AutoTune", store/load tuning and profiling as XML
This commit is contained in:
@@ -22,7 +22,7 @@ public class TestQueryWithCache extends BaseTestCase {
|
||||
// Ebean.getServer(null).runCacheWarming();
|
||||
//
|
||||
// Query<Order> query = Ebean.createQuery(Order.class)
|
||||
// .setAutofetch(false)
|
||||
// .setAutoTune(false)
|
||||
// .fetch("customer","+cache +readonly")
|
||||
// .setId(1);
|
||||
//
|
||||
@@ -107,7 +107,7 @@ public class TestQueryWithCache extends BaseTestCase {
|
||||
|
||||
Country nz3 = Ebean.find(Country.class, "NZ");
|
||||
|
||||
Country nz4 = Ebean.find(Country.class).setId("NZ").setAutofetch(false).setUseCache(false)
|
||||
Country nz4 = Ebean.find(Country.class).setId("NZ").setAutoTune(false).setUseCache(false)
|
||||
.findUnique();
|
||||
|
||||
Assert.assertTrue(nz2 == nz2b);
|
||||
|
||||
Reference in New Issue
Block a user