mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-02 16:22:27 +00:00
Fix for #425 - Extra instance of root level bean with findIterate() and fetch of OneToMany relationship - Ebean parses the first bean correctly and the rest not
This commit is contained in:
1 parent
5e97c3bbbc
commit
19459b71b4
3 files changed
+11
-1
No files matched your search
@@ -21,7 +21,7 @@ public class TestOneToManyCorrectGrouping extends BaseTestCase {
|
||||
ResetBasicData.reset();
|
||||
Query<Customer> customerQuery = Ebean.find(Customer.class)
|
||||
.fetch("orders")
|
||||
.where()
|
||||
.where().le("id", 2)
|
||||
.query();
|
||||
|
||||
QueryIterator<Customer> customerQueryIterator = customerQuery.findIterate();
|
||||
|
||||
Reference in new issue
Block a user