Another alternative is to use Dozer to map beans onto themselves. We
do this and it eliminates Hibernate specific set/list implementations.

--
Arthur Kalmenson



On Fri, Jan 30, 2009 at 12:50 PM, Karthik Karuppannan
<[email protected]> wrote:
> GWT is not able to serialize the PersistentSet in Hibernate POJO objects and
> throwing below errors.
>
>
>
> Caused by: com.google.gwt.user.client.rpc.SerializationException: Type
> 'org.hibernate.collection.PersistentSet' was not assignable to
> 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom
> field serializer.  For security purposes, this type will not be serialized.
>
>       at
> com.google.gwt.user.server.rpc.impl.LegacySerializationPolicy.validateSerialize(LegacySerializationPolicy.java:140)…..
>
>
>
> I googled around for options but I could not find any solution other than
> the hibernate4gwt (now Gilead). I am not comfortable using it as per steps
> described at
> http://hibernate4gwt.sourceforge.net/getting_started_stateless.html (I am
> not sure if there is any updated version to this).  I need to modify my
> domain classes, remote services, spring context configurations, etc.
>
>
>
> Is there any other alternate solution?  I joined just now and this is my
> first post. So, I am sorry if I am asking a repeated question for a known
> solution.
>
>
>
> ~ regards,
>
> Karthik Karuppannan
>
>
>
> >
>

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

Reply via email to