Hi Toni.
Thank you for your quick answer.
I'm using a filter based on that described on the hibernate site:
http://www.hibernate.org/43.html
As I'm already new to S2, Tiles and Hibernate, and I have never used
Spring, I tried to limit the new tecnologies in this project by lefting
out Spring... hehe.. in fact I don't even know what a IoC container is..
Do you believe that adding Spring to my app will be a relativly
easy task? Do I have to (or should) introduce annotations, too?
--
Robi
Toni Lyytikäinen wrote:
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]