5 Replies Latest reply on Sep 13, 2018 1:23 AM by bvnghiem1012

    WildFly 13 and Hibernate 2LC

    bvnghiem1012

      Hello all,

       

      I am using WildFly 13 in ee8.preview.mode to enable Hibernate 5.3.1,

      But the second level cache does not use "hibernate" container in standalone-full-ha.xml.

      I checked the jconsole and it use the SampleCacheManager in infinispan-hibernate-cache-commons.9.2.4.Final.jar/org/infinispan/hibernate/cache/commons/builder/infinispan-configs.xml

       

      How do I configure hibernate to use built-in " hibernate" cache container?

       

      My Hibernate property only:

       

       

                      hibernate.cache.use_second_level_cache=true

                      hibernate.cache.use_query_cache=false

                      hibernate.cache.infinispan.statistics=false

       

      Thanks,

      Nghiem