Remove support for "query hints" like +query(50) (#2163)

* Remove support for "query hints" like +query(50)

* Remove unused readOnly from OrmQueryProperties

* OrmQueryProperties cache as final field
This commit is contained in:
Rob Bygrave
2021-02-14 11:21:10 +13:00
committed by GitHub
parent 4c16b85e85
commit a6fdc42934
6 changed files with 23 additions and 169 deletions
@@ -21,7 +21,7 @@ public class TestLazyJoin extends BaseTestCase {
Query<Order> query = Ebean.find(Order.class)
.select("status")
.fetch("customer", "+lazy(10) name, status")
.fetchLazy("customer", "name, status")
.fetch("customer.contacts")
.order().asc("id");
@@ -28,7 +28,7 @@ public class TestQueryJoin extends BaseTestCase {
Query<Order> query = Ebean.find(Order.class).select("status")
// .join("details","+query(10)")
.fetch("customer", "+lazy(10), name, status").fetch("customer.contacts").order().asc("id");
.fetchLazy("customer", "name, status").fetch("customer.contacts").order().asc("id");
// .join("customer.billingAddress");
List<Order> list = query.findList();