#411 - Refactor AutoFetch, rename to "AutoTune", store/load tuning and profiling as XML

This commit is contained in:
Robin Bygrave
2015-09-10 23:20:57 +12:00
parent 9632279c2f
commit 0a8c902790
111 changed files with 255 additions and 341 deletions
@@ -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...");
}
}