Hibernate Cache Properties.

These are following Hibernate Cache Properties:

  • hibernate.cache.provider_class: This shows the class name of custom CacheProvider. Example org.hibernate.cache.EhCacheProvider.
  • hibernate.cache.use_query_cache: It is used to enables the query cache, individual queries still have to be set chacheable. Possible values are true or false.
  • hibernate.use_second_level_cache: It may be use to completely disable the second level cache, which is enabled by default for classes which specify a <cache> mapping. The possible values are true or false.


Post a Comment