Google News
logo
Java Hibernates - Interview Questions
How many ways can you disable Hibernate's second-level cache?
There are three ways to disable the cache :
 
* By setting hibernate. cache. use_second_level_cache property to false
* By using CACHEMODE.IGNORE
* Using a cache provider such as org.hibernate.cache.NoCacheProvider
Advertisement