David - It seems like this question has been asked numerous times on this mailing list and no one has come up with a good answer. I too don't have an answer, but if you come up with anything please post back to the list.
Thanks, Rick On Tue, Jul 8, 2014 at 6:56 PM, David Minor <davemi...@gmail.com> wrote: > I have an entity (A) that has a recursive OneToMany relation with itself > (children). A also has a OneToMany relation to entity B. > > Whenever A is fetched, the queries to fetch B for entity A and its children > are all separate queries. > > Is there any way to avoid this? > > -- > _____________ > David Minor > -- *Rick Curtis*