openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <>
Subject RE: Fetch Group questions
Date Mon, 25 Aug 2008 17:20:32 GMT

Hi Michael,
  Yes, the field inclusion in fetch group is determined by the field's name
with the declaring class and not by the defining class. 

 The recent commit 688777, adds the behavior you want. So 
   FetchPlan.addField(A.class, "b");
   FetchPlan.addField(B.class, "code");
 should fetch {A.b, A.b.code} but not {A.code}.

 I have added a JIRA issue to track [1].

 Let me know if you can try the recent changes and whether it addresses your
use case.

 Regards --


View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message