Jean-Marc Truillet
unread,Oct 25, 2011, 4:16:43 PM10/25/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
Hello,
I would like to know if I am facing a limitation of GWT.
I have stored a JPA entity with owned OneToOne and OneToMany
relationships in GAE DataStore through GWT-RPC without any problem.
I've succeeded in retrieving the main entity alone, as well as the
main entity with the entity linked by the OneToOne annotation. But
when I try to get the main entity with the ones in the collection
associated to the OneToMany annotation, I get this exception:
"Type 'org.datanucleus.sco.backed.List' was not included in the set of
types which can be serialized by this SerializationPolicy or its Class
object could not be loaded. For security purposes, this type will not
be serialized.: instance = [com.mydomain.myapp.shared.MyClass@ef3b6f]"
I thought this enhanced class issue was solved with the version 2.0 of
GWT as explained in the doc. Can someone confirm my case is not
supported by GWT? Or am I doing something wrong?
If there is no obvious solution I will probably use RequestFactory.
Thanks for your help.
Jean-Marc