开发者

Hibernate, Gilead and GWT

I'm experiencing some problems with GWT and Gilead/Hibernate

I did my code according to the tutorial but it fails with com.google.gwt.user.client.rpc.SerializationException: Type 'ru.at开发者_如何学Pythonamur.entity.UserEntity_gilead_15' 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 = ru.atamur.entity.UserEntity_gilead_15@133fa82

Looking at the source code I can see that Gilead transformed my UserEntity into UserEntity_gilead_15 inside GileadRPCHelper.parseReturnValue(returnValue, _beanManager)

I can see that this was deliberately done by ProxyClassMapper (I'm trying to use proxy mode), so I was wondering where Gilead was expecting to tell GWT Serilization mechanism about this new proxy class it introduced ...


Can you share your code ?

before that I want to say that SerializationException is thrown when your class doesn't implement isSerializable interface that you send it to the server.

Every class that you send to the server should implement isSerializable interface

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜