I am using Ehcache in Hibernate.
How can I notify the cache that the database has changed? How can I invalidate the cached data? How can I programmatically achieve t
Set cache expiration so data is refreshed as or more often than the database changes .
Also you can update in cache only elements that change in the database .