Hello,
Lance has commented on
http://tapestry.apache.org/using-tapestry-with-hibernate.html.
You can find the comment here:
http://tapestry.apache.org/using-tapestry-with-hibernate.html#comment_1322
Please note that if the comment contains a hyperlink, it must be approved
before it is shown on the site.
Below is the reply that was posted:
~~~~
I think it's worth noting that the hibernate session instance provided by
tapestry is a singleton. This singleton is a proxy to a per-thread hibernate
session instance which is lazy loaded on demand. Tapestry calls
Registry.cleanupThread() at the end of each request which cleans up the
per-thread session if one exists. If you use tapestry-hibernate outside of a
normal request / response then you will need to explicitly call
PerThreadManager.cleanup() or Registry.cleanupThread()
~~~~
With regards,
The Apache Tapestry Project.
You are receiving this email because you have subscribed to changes for the
tapestry site.
To stop receiving these emails, unsubscribe from the mailing list that is
providing these notifications.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]