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

(7.1.z) HHH-12508 HHH-12520 Bugs related to second-level/query cache not enabled

XMLWordPrintable

    • EAP 7.1.3

      https://hibernate.atlassian.net/browse/HHH-12508
      https://hibernate.atlassian.net/browse/HHH-12520

      HHH-12508 is not a regression, but can cause SessionFactoryOptions#isSecondLevelCacheEnabled to return true when the second-level cache is actually disabled. Hibernate relies on the correct return value when determining if second-level cache functionality is available.

      HHH-12520 is a regression introduced by HHH-10418. CacheImpl#getSecondLevelCacheRegion can cause NullPointerExceptions when the query cache is disabled.

      The test case included for HHH-12508 is for both issues.

              gbadner@redhat.com Gail Badner (Inactive)
              gbadner@redhat.com Gail Badner (Inactive)
              Jiří Bílek Jiří Bílek (Inactive)
              Jiří Bílek Jiří Bílek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: