Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-2997

FeCru TransactionTemplate implementation should close the Hibernate Session opened during the transaction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.5.4, 2.6.0
    • None
    • None
    • None

    Description

      For more information see this blog post.

      When using Crucible services in a separate thread from the request thread, a new Hibernate session will be opened. When the thread finishes, the Session will be left hanging around indefinitely since it cannot be cleaned up by the request thread.

      Confluence and Bamboo deal with this by having the TransactionTemplate close threads that were opened for the transaction. The FeCru implementation should do the same to ensure there aren't resource leaks.

      Attachments

        Activity

          People

            tom@atlassian.com Tom Davies
            rwallace Richard Wallace (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: