Gavin King wrote:

Is there some feature of WebWork that allows an application to perform some
cleanup code after rendering a view? Many of our users need some way to
close/commit the Hibernate session/transaction *after* the view is rendered.
The reason for this is that Hibernate might return lazy-initializing proxies
and collections (when configured to do so in the OR mapping). So its
necessary for the session/transaction to remain open while the view is being
rendered, since some data might be transaparently retrieved from the
database during rendering.

I am adding this problem to our FAQ and I would like to be able to tell
people a simple best-practice solution for WebWork....
Hav you tried using a servlet filter for this?

/Rickard



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


Reply via email to