As i posted it in sidewiki to this very useful tips :

there is another pitfall : you can't just return the result list of a
query.

The list is not a basic ArrayList but a class of Datanucleus that is
not serializable.

If you want test that trick, just begin with a simple object, not a
resultset.
Alternatively, you may return a ".subList(x, y)", which produces a
regular and serializable ArrayList.


On Nov 4, 12:09 pm, "a.maza" <andr.m...@gmail.com> wrote:
> I've used the merging of transient objects approach for a while as
> described 
> inhttp://timepedia.blogspot.com/2009/04/google-appengine-and-gwt-now-ma...
> and it works quite fine. I only subsituted the proposed implementation
> of copying fields by dozer.
>
> However, I am still thinking to move to the "detaching objects"
> approach and played around with it a bit. So far, the detaching
> objects approachs seems more cumbersome to me...
>
> I would be happy to hear some thoughts...
>
> regards,
> andr
--~--~---------~--~----~------------~-------~--~----~
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 google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to