Secondary cache in Hibernate
- 13th Apr 2017
- 0
- 6954
- Complete project on Secondary cache using ehcache ehcache configuration in hibernate ehcache with example project How to define secondary cache with ehcache in hibernate Secondary cache in hibernate example
Let us understand Secondary cache in Hibernate Secondary cache is associated with the SessionFactory and hence its available to the entire application. So objects kept in the secondary cache are available across multiple sessions. Once the session factory is closed, secondary cache is cleared. How secondary cache works ? Whenever we try to load an […]