3 Replies Latest reply on Aug 7, 2015 8:18 AM by Francesco Marchioni

    How to verify entity caching from WildFly Admin Console?

    valsaraj viswanathan Master

      Is there any way to check entity caching in WildFly? I saw runtime tab but no change in the cache count.

       

      I enabled it in persistence.xml:

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

      ...

      <shared-cache-mode>ENABLE_SELECTIVE</shared-cache-mode>

       

      Then annotated an entity as @Cacheable. Deployed and accessed via application. This is the entity which only used to read data from application.