Hi!

I`m planning on having my hibernate transaction span over one page request..
Is pageAttached(...) and pageDetached(...) the right place to start
and end the transaction?
I guess this is the first and last thing that happen on a request.
Also, is it wise to have the transaction scope over a whole page like
this? or should I use several small transactions for each db
operation? I mean, what is generally considered good design?

I'm using the "hibernate squeezer" (
http://wiki.apache.org/jakarta-tapestry/HibernateTapestrySqueezer )


thanks!
/ted

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to