Combination View Flat View Tree View
Threads [ Previous | Next ]
Fabio Foglia
User entity Database Cache
February 25, 2013 2:38 AM
Answer

Fabio Foglia

Rank: Junior Member

Posts: 61

Join Date: September 2, 2011

Recent Posts

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