Cashing in Hibernate
Caching is one of the important features implemented by an application for better performance. In an ORM perspective, data retrieved from a database is cached in memory or to disk so that 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 may be used to avoid a database call whenever:
The application performs a lookup by identifier.
The persistence layer resolves an association or collection lazily.
KeywordsCache Policy Cache Object Persistent Object List Book Query Cache
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.
Unable to display preview. Download preview PDF.
© Srinivas Guruzu and Gary Mak 2010