Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20197

Most of the XWikiHibernateStore methods can end up closing a session they were supposed to just reuse

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      In most XWikiHibernateStore methods the session is closed if the open failed which does not make much sense. We are just lucky that a failing #beginTransaction is rare...

      One possible cause of failing #beginTransaction with a reusable session in the context is XWIKI-19730.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: