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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.4.5
    • Fix Version/s: 8.4-rc-1
    • Component/s: Old Core
    • Labels:
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

                Dates

                Created:
                Updated:
                Resolved: