Monday, October 12, 2009

Re: using a JPA annotated class in a RPC call yelds IncompatibleRemoteServiceException

See this related material:

You JDO impl actually enhances Java byte code which then cannot be serialized by GWT.

You should see in your JDO impl documentation if there is some way to bypass this kind of bytecode enhancement. The best place would be your JDO impl mailing list to continue the discussion.

Mohsen

On Sun, Oct 11, 2009 at 1:52 AM, Alexandru Ioan Cucu <alexandruioan.cucu@gmail.com> wrote:


On Sun, Oct 11, 2009 at 12:29 AM, Alexandru Ioan <alexandruioan.cucu@gmail.com> wrote:
I came across this strage problem...

If I remove the @Id and @GeneratedValue annotations, all runs fine...


Hello,

sorry, I forgot to mention. I use google web application, datanucleus as JPA implementation. If I use Hibernate, it doesn't reproduce.
Also, debugging through the GWT sources, I came across this:

in com.google.gwt.user.server.rpc.impl.SerializabilityUtil.generateSerializationSignature
when iterating over the bean's fields, an
protected java.lang.Object[] com.dinc.bandmplace.client.model.User.jdoDetachedState
appears.

thx







--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate