Second-Level Cache
An optional Hibernate cache shared across persistence contexts for selected entity, collection, or query-related data.
Technical Context
Second-level caching can reduce database reads for stable, repeatedly accessed data, but coherence and invalidation cost matter. It is a poor fit for highly volatile data unless the consistency strategy, eviction behavior, cluster topology, and stale-read tolerance are explicitly designed.
Related Concepts
- First-Level Cache
- cache invalidation
- Hibernate
- stale read