cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Juffer <>
Subject Re: Hibernate+Flow+Cocoon?
Date Fri, 06 Oct 2006 09:17:22 GMT

you could have a look at: (especially

The SessionFactory is created only once in an interceptor 
( where also the transaction is 
started and committed. I do not use flow to create the SessionFactory. 
To access the session, I depend on the repository pattern where the 
current session is obtained from the SessionFactory.

Hope this helps,

Joseph Toman wrote:
> I was wondering if anyone had advice or opinions on
> using Hibernate+Flow+Cocoon? I'm writing a small test
> application to understand the issues involved, and I'm
> not quite clear where the SessionFactory should be created.
> According to the Hibernate documentation it's a relatively expensive
> operation, so I don't want to do it each time the flowscript runs.
> Ideas, or things that have worked for you would be greatly appreciated.
> 						J. Toman
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Andre H. Juffer              | Phone: +358-8-553 1161
The Biocenter and            | Fax: +358-8-553-1141
     the Dep. of Biochemistry | Email:
University of Oulu, Finland  | WWW:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message