#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
@@ -19,7 +19,7 @@ public class TestQueryFindEachWhile extends BaseTestCase {
Query<Customer> query
= server.find(Customer.class)
.setAutofetch(false)
.setAutoTune(false)
.fetch("contacts", new FetchConfig().query(2)).where().gt("id", 0).orderBy("id")
.setMaxRows(2);
@@ -47,7 +47,7 @@ public class TestQueryFindEachWhile extends BaseTestCase {
EbeanServer server = Ebean.getServer(null);
Query<Customer> query = server.find(Customer.class).setAutofetch(false)
Query<Customer> query = server.find(Customer.class).setAutoTune(false)
.fetch("contacts", new FetchConfig().query(2)).where().gt("id", 0).orderBy("id")
.setMaxRows(2);