Hi,

PersistentSet is one of Hibernate's "magic collections". Like the
proxies that Hibernate also uses for lazy loading, domain objects so
adorned are incompatible with the GWT Emulation library and AFAIK
there is no direct way around it at the moment. You have to copy them
to DTO representations for transfer and copy them back on return.

Hibernate4gwt does this for you - have you had a look at it?

regards
gregor

On Dec 7, 9:54 am, LoneWolf <[EMAIL PROTECTED]> wrote:
> Hey,
> Our application is using Hibernate 3 as the persistence mechanism, and
> of course we have one-to-many relationship.
> The problem is when trying to pass a domain object that has a list of
> lazy initialized objects back to the browser, I got this exception:
> ++++
> Caused by: 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.
> ++++
> Yes, I understand this exception but to overcome this issue?
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
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