posted 14 years ago
Hi everybody,
I am developing an application that uses GWT 2.3, Hibernate 3.0, Spring 3.0 and Gilead API.
I have added required inherits entry in my project.gwt.xml file.
I have configured my service class as follows.
The problem I am facing is the PersistentSet created by hibernate is not automatically getting converted in the java.util.Set and because of it I am getting following exception when pojo is transfered from server to client.
com.google.gwt.user.client.rpc.SerializationException: Type 'org.hibernate.collection.PersistentSet' 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 = []
Do I need any other configuration to make it work or any other processing on POJO i need to add?
Any help highly appreciated.
Thanks,
Bhavesh.
SCJP 6(83%), SCWCD 5.0(100%)