掲示板

User entity Database Cache

thumbnail
11年前 に Fabio Foglia によって更新されました。

User entity Database Cache

Junior Member 投稿: 61 参加年月日: 11/09/02 最新の投稿
Hello All,

I have many update cache problem on User entity and display all User in User Admin Section.

My DB isn't on localhost, it is on different server on same lan and LR is 6.0.6 on Tomcat7.

Is it possible ti disable cache on User entity?

Is it enough to add in portal-ext.properties the following lines:
value.object.entity.cache.enabled.com.liferay.portal.model.User=false
value.object.finder.cache.enabled.com.liferay.portal.model.User=false

Or have I to add the following too:
hibernate.cache.use_second_level_cache=false
hibernate.cache.use_query_cache=false

Thanks

Fabio