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

Hibernate store reload the Dialect from the configuration with each call

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 8.4-rc-1
    • 7.4.5
    • Old Core
    • Unknown
    • N/A
    • N/A

    Description

      From what I can see Dialect is thread safe but hibernate store reload it from the configuration which produces several locks for nothing. Plus it does that for various reason going to execute request of course but also for things like getting escape character...

      I think we should load it once and keep using the same instance.

      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: