mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-12 22:41:35 +00:00
Improve internal calculation of orm query plan hash key (Require use of inline hints like +query(50) to be comma delimited with properties) (#2159)
* WIP Tidy DefaultOrmQuery planDescription() * WIP Tidy DefaultOrmQuery planDescription() * Refactor OrmQueryPropertiesParser with hints requiring comma delimiting (previously didn't) * Refactor OrmQueryPropertiesParser (reuse inputProperties) and DRawSqlColumnsParser (to return Set) * Refactor OrmQueryPropertiesParser - remove JunkMain * Refactor OrmQueryDetail, OrmQueryProperties - properties
This commit is contained in:
1 parent
758f84f573
commit
8ac5467856
14 files changed
+137
-249
No files matched your search
@@ -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");
|
||||
.fetch("customer", "+lazy(10), name, status").fetch("customer.contacts").order().asc("id");
|
||||
// .join("customer.billingAddress");
|
||||
|
||||
List<Order> list = query.findList();
|
||||
|
||||
Reference in new issue
Block a user