What kind of filter are you using? Have you made one yourself or is it the one from the Spring framework? If not, consider looking into Spring. Spring includes an OSIV filter that seems to work for me at least. I'm also using the Spring declarative transactions in my DAOs which makes writing database access code a lot less tedious. You'll also get the nice IoC container if you integrate Spring into your application.
On 6/21/07, Roberto Nunnari <[EMAIL PROTECTED]> wrote:
Hello. I'd like to ask if anyone can share his experience in integrating hibernate3 in S2. I believe I should use the 'Open Session in View Pattern' but as I'm getting wierd behaviour from my S2 application I wonder if the way I'm integrating it is bad. I'm using a filter for hibernate in web.xml.. should I instead use a S2 interceptor? Any other way? Please help! Thank you. -- Robi --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]