Hello Jeromy.
Jeromy Evans wrote:
I'm using a filter for hibernate in web.xml.. should I instead
use a S2 interceptor?
I use an S2 interceptor as per the open-session in view pattern. Pass
the SessionFactory or EntityManagerFactory (in stand-alone mode) to your
interceptor through the Se
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...
I'm using a filter for hibernate in web.xml.. should I instead
use a S2 interceptor?
I use an S2 interceptor as per the open-session in view pattern. Pass
the SessionFactory or EntityManagerFactory (in stand-alone mode) to your
interceptor through the ServletContext.
-
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 datab
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.x
5 matches
Mail list logo