Hibernate provides the out-of-box caching solution but there are many caches like first level cache, second-level cache, and query cache.
The first level cache is maintained at the Session level and cannot be disabled but the second-level cache is required to be configured with an external cache provider like EhCache.