Hi,

> A few people have suggested using a filter to handle the hibernate
> session. It probably wouldn't be a bad idea to see such a filter in
> the source for hibernate users. Any contributors?

Hm, shouldn't transactions last only as short as possible? We are using a
system where the transaction is opened and closed in a wrapper for the
execute() method, but I always thought this is a design flaw ... ?
Writing a filter would extend the time the transaction is open again. Isn't
there a better solution? I have no experience with EJB, but don't you always
have a transaction automatically opened? How do they handle that?

Regards
Christoph



-------------------------------------------------------
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