Chapter 7. Advanced Concepts

In this chapter, we will cover the following recipes:

  • Working with a first-level cache
  • Working with a second-level cache
  • Working with a query cache
  • Working with the table per class hierarchy strategy of inheritance
  • Working with the table per subclass strategy of inheritance
  • Working with the table per concrete class strategy of inheritance
  • Working with the versioning of objects
  • Maintaining the history of an object
  • Working with an interceptor
  • Working with batch processing

Introduction

Hibernate supports some advanced features, such as caching, inheritance, versioning, maintaining a history of objects, interceptor, batch processing, and many more.

Here, you will learn the first-level, second-level, and query caches, in detail and ...

Get Java Hibernate Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.