Caching in Hibernate

  • Joseph Ottinger
  • Srinivas Guruzu
  • Gary Mak
Chapter

Abstract

Caching is one of the important features implemented by an application for better performance. From an ORM perspective, data retrieved from a database is cached in memory or to disk, so there is no need to make a call to the database for every request. A cache is a local copy of the information from the database that can be used to avoid a database call whenever the following situations occur:

Keywords

Public Class Cache Policy Cache Object Persistent Object Public Void 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Joseph Ottinger 2015

Authors and Affiliations

  • Joseph Ottinger
    • 1
  • Srinivas Guruzu
    • 1
  • Gary Mak
    • 1
  1. 1.NCUnited States

Personalised recommendations