You can use a custom fetch group as objectuser says or you can "touch" the
field (e.g. call the getter) before detaching the queried object, which will
force it to be lazily loaded even if it's not part of the default fetch
group. The former is a more elegant option, though.

- Jason

On Wed, Sep 23, 2009 at 1:47 PM, Max <[email protected]> wrote:

>
> How do I fetch field that is not declared like:-
>
>        @Persistent(defaultFetchGroup="true")
>
> I am using JDO
>
> Thanks, Max
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to