Closed
Description
So where "level2s" is a ManyToMany with "level2s.level3s" as a OneToMany or ManyToMany ... and there is a prior OneToMany or ManyToMany (in the case below "level4s") so that the level2s are fetched as a "fetch join" (not part of the origin query).
... then the level2s (ManyToMany) are not loaded/associated correctly against the root object.
final List<Level1x> things = Ebean.find(Level1x.class)
.fetch("level4s")
.fetch("level2s")
.fetch("level2s.level3s")
.order().asc("id")
.findList();
Activity