Hibernate 2LC and Query cache with infinispan -


I am using Hibernate 4 and have configured the query cache with 2LC and infinispan4. I can see in the JVisualVM Mbean tab that my application uses 2LC because I have increased hit count for different configured cache, but I am not able to see any activity on the query cache side, this does not get hit , Which I can see, only counting count I tried to replace many HQL queries with criteria criteria to make them qualified for the query cache; What it is not working. I have configured the hibernate.cache.use_query_cache property to correct and also cache the update code. What could be the reason for not doing this?


Comments