Yes, that is possible, and it works nicely, thanks. Through additional testing I found that the earlier problems I was having (not getting fetch groups to work at all), were only when I would modify the fetch groups and fields on the OpenJPAQuery.getFetchPlan() plan. That doesn't seem to work at all. However, if I switch over and edit the fetch plan obtained from the entity manager, everything works great. Not sure why this is, but I can use the entity manager's fetch plan for my purposes.
Miłosz Tylenda wrote: > > > Not sure if this possible in you particular situation, but what if you > detach your object before calling getters? I mean > > EntityManager.clear() or OpenJPAEntityManager.detach(pc) > -- View this message in context: http://n2.nabble.com/Partial-populate-of-POJO-tp1356484p1368567.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
