2 Replies Latest reply on Apr 8, 2019 6:59 AM by jan.roehrich

    Other cache providers for hibernate 2nd level caching possible in Wildfly 15

    jan.roehrich

      Hi all,

       

      I'm currently trying to migrate an application to Wildfly 15, which currently relies on a big Hazelcast infrastructure. What I try to achieve is having my application and Hibernate/JPA 2nd level caching share the same Hazelcast Instance. But I currently stuck with Hibernate in Wildfly because as soon as I set the parameter

      <property name="hibernate.cache.use_second_level_cache" value="true" />

      wildfly uses Infinispan as its backend for Hibernate, regardless what I have configured in the property hibernate.cache.region.factory_class

       

      Any ideas?

       

      Is it in general possible to have Hibernate 2nd level cache being backed by something else than Infinispan?

       

      The application currently runs on JBoss 7 with Hazelcast as backend.

       

      Thanks in advance!

       

      Jan