Date: 2004-11-29T05:28:09
Editor: JohannesTextor <jc.textor@xxxxxx>
Wiki: Cocoon Wiki
Page: GettingStartedWithCocoonAndHibernate
URL: http://wiki.apache.org/cocoon/GettingStartedWithCocoonAndHibernate
no comment
Change Log:
------------------------------------------------------------------------------
@@ -68,13 +68,11 @@
See CocoonAndHibernateTutorial for instructions on deploying Hibernate in the
cocoon webapp. This covers registering
Hibernate with the Avalon Framework and using cocoon.xconf datasources for
connection pooling.
-If you want to set up Hibernate under Cocoon, it is recommended that you setup
a servlet filter for handling the disposal of Hibernate sessions. This ensures
that your Hibernate session sticks around until '''after''' your view was
rendered. A brief summary of the steps is:
-
-1.
-1.
-1.
+If you want to set up Hibernate under Cocoon, it is recommended that you setup
a servlet filter for handling the disposal of Hibernate sessions. This ensures
that your Hibernate session sticks around until '''after''' your view was
rendered.
This technique is described in more detail in the "Hibernate in Action" book
([http://www.manning.com/bauer]).
+
+An example filter along with some explanation can also be found at
CocoonAndHibernateTutorial.
== Other Installation Procedures ==
|