How to check whether the Object is loaded from the Second Level Cache in Hibernate
Issue
- How do I enable Second Level Caching (L2C) in Hibernate ?
- What are the performance benefits of using and configuring the Second Level Caching in highly resource intensive SQL queries ?
- How can one know whether the Second Level Caching is enabled in Hibernate ?
- What metrics can be checked to evaluate the performance benefits when enabling the Second Level Caching in Hibernate ?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.