I have a large Java application that is configured to use JPA and Hibernate. It is also assumed that it uses ehcaching to cache objects and queries. However, I have sql accounting enabled, and no objects are cached. All entity queries occur for each query.
How can I determine at runtime if it even starts ehcache and does it consider the object to be cacheable?
I did not write this application, so it got a little stuck here.
It uses declarations for caching in classes.
Correctly use all the other ads for Hibernate to perform read / write operations.
source share