Okay, I figured out the problem. The FetchGroup doesn't actually let me
dictate between fetching or not fetching a specific property. Rather, it
only lets me mark fields as lazily vs. eagerly loaded. So, when I was
calling the getter it was making a separate call to the database to populate
my variable at that time. I get it. Unfortunately, I will want to call
these getters later, even on fields which I don't want to fetch. I do not
want it going back to the database to fetch that information for me. Is
there any way I can do that aside from using reflection to access the
property directly?
--
View this message in context:
http://n2.nabble.com/Partial-populate-of-POJO-tp1356484p1365947.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.