Hi Dominik,
I am glad that you found a solution. There is an alternative. You
could annotate your class with  something like
@FetchGroup(name="detach_image", member...@persistent
(name="image_data")})
and then you could use
tx.begin();
pm.getFetchPlan().addGroup("detach_image");
Query q = pm.newQuery(...
...
That way they are fetched only when you need them.


--~--~---------~--~----~------------~-------~--~----~
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