cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "beyanet.com" <beya_n...@yahoo.co.uk>
Subject Re: Using Hibernate via Java, not Flow
Date Wed, 13 Apr 2005 21:29:02 GMT
>Well, I tried adding in a hibernate close to get around the issue of 
>two different sessions monkeying around with the POJO objects, 
>causing an exception to be thrown (and when those get thrown the 
>whole application flakes out).
>

Brent,
the way I use hibernate with flowscript is to simply call the method 
from flowscript and allow the java method to handle all 
transaction-session open and closing processes. I place no hibernate 
code in cocoon. All the hibernate code is self contained within the 
java method.

regards

Uzo

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


Mime
View raw message