Johannes,
I have successfully refactored my code with your last update of the wiki
article. Really clean and elegant.
I'm having one behavior I don't understand.
After starting tomcat, when I browse the homepage of my webapp, where no
request are made on the database, I get this :
hibernate.OpenSessionInViewFilter - doFilter entered (doFilter function
called)
hibernate.PersistenceUtil - initializing scope
(PersistenceUtil.initializeScope();)
hibernate.OpenSessionInViewFilter - persistenceFactory is not null (if
(persistenceFactory != null) is true)
hibernate.PersistenceUtil - Setting Session into Scope
(PersistenceUtil.setHibernateSession(hs);)
hibernate.OpenSessionInViewFilter - doFilter entered (doFilter function
called)
...
This is spammed alot sometime. After about 20 times the page loads fine!
I have a slow computer but I doubt this is the reason.
Any idea on this issue ?
-Baptiste
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]