Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-23007

(7.4.z) WFLY-15583 - Adjust sql statements during initialization of DatabaseTimerPersistence

    XMLWordPrintable

Details

    Description

      DatabaseTimerPersistence currently holds both portable and vendor-specific sql statements. When performing any database access, it tries to look up a vendor-specific sql statement, and then the portable one, so that the more optimized vendor-specific one has precedence.

      Since a database type, once determined, is unlikely to change during the life time of a DatabaseTimerPersistence, we should be able to normalize all sql statements using the standard key, removing those sql statements (either portable ones or vendor-specific ones) from the cache. Any database access can directly look up by the standard key to get the most appropriate sql statement.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-ivassile Ilia Vassilev
              rhn-support-ivassile Ilia Vassilev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: