Yes, in a nutshell, you'll have to create a new List that does implement Serializable (e.g. ArrayList), copy each element from your results list to your new seralizable list, and return this new list instead. StreamingQueryResult is not serializable and you'll run into issues if you try to send it over the wire.
- Jason On Tue, Sep 1, 2009 at 4:07 AM, 郑杰 <tom....@gmail.com> wrote: > thank you,leszek,you are a good men! > > 2009/9/1 leszek <leszek.ptokar...@gmail.com> > > >> It is a common problem. Read this thread: >> >> >> http://groups.google.co.uk/group/google-appengine-java/browse_frm/thread/bce6630a3f01f23a/62cb1c4d38cc06c7?lnk=gst&q=com.google.gwt.user.client.rpc.SerializationException%3A+Type+%27org.datanucleus.store.appengine.query.StreamingQueryResult%27+was+not+included+in+the+set+of+types+which+can+be+serialized+by+this+SerializationPolicy >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---