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

[GSS] (7.1.0) HHH-11516: Level two cache may not be enabled when using @Cacheable without/instead of @Cache

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.1.0.DR14
    • 6.4.0.GA, 7.0.4.GA, 7.1.0.DR12
    • Hibernate
    • None

      Randomly (not reproducible at will), caching is not enabled (queries that should resolve in cache consistently go to the database). DEBUG logging shows that, when the issue occurs, there are no log entries like

      ... [org.hibernate.cache.infinispan.InfinispanRegionFactory] Building entity cache region ...

      The same issue has never been reproduced when @org.hibernate.annotations.Cache is used for entities and cache regions are consistently (based on DEBUG trace) seen to be created for associations (which can only be made cacheable via @Cache)

            gbadner@redhat.com Gail Badner (Inactive)
            rhn-support-sfikes Stephen Fikes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: