Re: Flow and hibernate sessions

2006-03-09 Thread Simone Gianni
n sessions hanging around, though as you said it doesnt hold onto database connections. Mark H From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Simone Gianni Sent: 06 March 2006 18:31 To: users@cocoon.apache.org Subject: Re: Flow and hibernate sessions

RE: Flow and hibernate sessions

2006-03-07 Thread Mark H
To: users@cocoon.apache.org Subject: Re: Flow and hibernate sessions Hi Mark, we had the same problem with Hibernate. I solved it with a flow wrapper. This wrapper wraps the flow interpreter of your choice (tested with javaflow a lot, simple tests with _javascript_, but should not give big

Flow and hibernate sessions

2006-03-06 Thread Mark H
What is the best way to handle hibernate sessions in flow? At the moment Im using a servlet filter to close sessions after each request but this makes it awkward when dealing with objects that span a number of requests but are within one flow function (Im using flowscript). I could have

Re: Flow and hibernate sessions

2006-03-06 Thread Simone Gianni
tand. Unfortunately this code will not enter in the cocoon repository cause it would include dependencies on hibernate, so i think we can use this thread to keep it up to date in case you improve it. Hope it helps! Simone Mark H wrote: What is the best way to handle hiberna