Bug 256 : PERFORMANCE - Automatically convert multiple *ToMany joins to query joins
Priority 
High
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
2.5.0
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
19/03/2010
Updated 
19/03/2010
Type 
Bug
 
Attachments 
No attachments

Ebean does not allow multiple *ToMany joins to be included in the main query. This is because this results in a SQL cartesian product.

With this fix you won't need to manually configure query joins using +query. Ebean will automatically convert the fetch joins to query joins.

 
Rob 19 Mar 08:04
Fixed in HEAD

Fixed in HEAD.

woResponse

Upload a file