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

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to