Caching in Hibernate – overview

Let us see the overview of Hibernate Caching Caching is a mechanism to store the frequently retrieving data from DB into Cache Memory. The main advantage of using Cache is, it reduces the number of database calls and increases the performance of the application. Cache sits between application and database. How Application gets data from […]

Share this article on

Primary cache in Hibernate

Let us understand Primary cache in Hibernate Primary cache is associated with Session and its enabled by default. So we don’t need to configure anything to enable the Primary cache in our application. Since it is associated with Session, primary cache will be available as long as hibernate session is alive. Once the session is […]

Share this article on
< Previous Next >