On Tue, Sep 29, 2009 at 11:27 PM, Pinaki Poddar <[email protected]> wrote:
> > > ojem.getFetchPlan().addField(A.class, "B"); > > Mike is right. > > I have discovered that in addition to Mike being right, Daryl is wrong. It seems I was confounded by a bug where the parent entity is not being returned for each child. I would think this would work fine for a single field value: select a from A as a join fetch a.b This avoids having to cast into OpenJPA. -- Daryl Stultz _____________________________________ 6 Degrees Software and Consulting, Inc. http://www.6degrees.com mailto:[email protected]
