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:
@@ -27,7 +27,7 @@ public class TestAutofetchTuneWithJoin extends BaseTestCase {
|
||||
ResetBasicData.reset();
|
||||
|
||||
Query<Order> q = Ebean.find(Order.class)
|
||||
.setAutofetch(true)
|
||||
.setAutoTune(true)
|
||||
//.fetch("customer")
|
||||
//.fetch("customer.contacts")
|
||||
.where().lt("id", 3).query();
|
||||
@@ -65,7 +65,7 @@ public class TestAutofetchTuneWithJoin extends BaseTestCase {
|
||||
// System.out.println(queryStats);
|
||||
// }
|
||||
|
||||
if (q.isAutofetchTuned()) {
|
||||
if (q.isAutoTuned()) {
|
||||
System.out.println("TUNED...");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user