mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user