Thanks,

Unfortunately, this won't work for me as I'm not running cocoon in a
servlet container.

Nicolas.

-----Original Message-----
From: Ugo Cei [mailto:[EMAIL PROTECTED] 
Sent: 8 juin, 2004 11:22
To: [EMAIL PROTECTED]
Subject: Re: Flow + Hibernate and lazy initialization


Nicolas Bielza wrote:
> Hi,
> Now, when I serialize the velocity output to XML, there's no problem; 
> if I add a XSL transform step and serialize to HTML, I get lazy 
> initialization exceptions.
<snip/>
> Thanks for any idea or code sample,

You might try the "Open session in view" pattern:

http://hibernate.bluemars.net/43.html

        Ugo


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to