Clear Hibernate 2nd level cache after manually DB update

后端 未结 6 1673
野的像风
野的像风 2021-01-01 01:17

Shortly, I have an entity mapped to view in DB (Oracle) with enabled 2nd level Cache (read only strategy) -- ehcache.

If I manually update some column in DB -- cache

6条回答
  •  余生分开走
    2021-01-01 02:16

    You will find here the way to control the second level cache:

    http://docs.jboss.org/hibernate/core/3.3/reference/en/html/performance.html#performance-sessioncache

提交回复
热议问题