Reputation: 1617
Hibernate uses two cache regions for query cache, the org.hibernate.cache.internal.StandardQueryCache for storing the result set and the org.hibernate.cache.spi.UpdateTimestampsCache for storing the timestamp of the last updated table's timestamps. The UpdateTimestampsCache is consulted and updated when a new query is fired deciding to do a fresh query or use the existing records as the timestamp did not change.
The questions are
Upvotes: 1
Views: 1234
Reputation: 691715
Upvotes: 3