フォーラム

ホーム » Liferay Portal » English » 6. Portal Framework

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
Fabio Foglia
User entity Database Cache
2013/02/25 2:38
答え

Fabio Foglia

ランク: Junior Member

投稿: 61

参加年月日: 2011/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