You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by no...@comments.apache.org on 2013/05/31 10:08:23 UTC

Lance commented on http://tapestry.apache.org/using-tapestry-with-hibernate.html

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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org