You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Johannes Textor <jc...@gmx.de> on 2005/07/25 17:58:03 UTC

[FYI] Hibernate tutorial updated

Hi Folks,

to all of you who are using the "Open Session in View" - Servlet Filter 
from CocoonAndHibernateTutorial at Wiki: I have now (finally) updated 
the implementation.

Before, an HTTP Session was required to pass the Hibernate session from 
cocoon to the filter. This issue has now finally been resolved, 
communication between cocoon and the filter is now done via the request 
object, which is MUCH cleaner and removes the ugly dependency on an HTTP 
Session. (The OpenSessionInView filter from the Spring framework also 
uses this technique, so I guess it should be OK now).

However, I did not have the chance to test this on a cocoon version 
other than 2.1.7, so I would appreciate feedback from those of you who 
are using it on earlier versions.

TIA and sorry for taking so long to clean up this mess,

Cheers,
Johannes

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org