This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Caching Issue - Data not getting refreshed

 
Himanshu
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have enabled second level query caching. Problem is when data is updated in the backend directly (not from UI), same is not reflected unless cache time expires. I have defined app-cache.xml like:


Even though time set is 60 seconds, no change is reflected before 120 seconds have elapsed (which is, I think, default value set in defaultCache).

Any suggestion to resolve issue is welcome.
 
Subin Sugunan
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Set proper fetch policy.

 
Himanshu
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Subin Sugunan wrote:Set proper fetch policy.

And what that would be?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic