3 Replies Latest reply on Dec 21, 2010 4:59 AM by vipavel

    LazyInitializationException while passing audited object to client

    vipavel

      Hi,

       

      I have a BlazeDS that is responsible for passing objects from server to client.

      While getting the audited object and trying to send it to the client I have the following error:

      org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed

      I have some Lazy properties in my object but I populate them with the correct data before sending it to the client.

      Have somebody seen this before?

      Thanks,

      Pavel