Hello,

I'm using GWT 1.5.2, with Spring 2.5.2 and Hibernate 3.2.6.

I'm using the TreeSet class in GWT on the client side with a custom
comparator and I have no problem.

But I tried to use the sort attribute of <set> in the Hibernate
mapping (Hibernate return a TreeSet with a custom Comparator) and I
get this exception :

com.google.gwt.user.client.rpc.SerializationException: Type
'java.util.TreeSet' 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.

What's wrong with my code ? Is it a GWT bug ?

Thank's,
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to