Let me answer some different questions:

Q. If I make multiple hibernate calls in a single request, how many
hibernate sessions were created?
A. 1

Q. Will a hibernate session be created for a request that does not use
hibernate?
A. No

Q. Since there is only 1 instance of Session in the tapestry registry, how
can it be thread safe?
A. It's a proxy which delegates to a lazy loaded session on a thread local

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/About-per-thread-service-tp5713515p5713523.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to