Clearing up the Hibernate second level cache
When enabling the second level cache in Hibernate, it is possible that you use a secondary tool/way to add stuff in the database. That’s why it’s usefull to find a cache manager independent way of clearing the Hibernate second level cache.
The solution is simple and straightforward. See the article from here

leave a comment