-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Does 2nd level cache have event mechanism???
PostPosted: Sat Feb 11, 2006 1:09 pm 
Newbie

Joined: Fri Oct 14, 2005 3:47 pm
Posts: 5
Location: Israel
Hibernate version: 3.0.1
Cache provider: JBoss TreeCache

Hi,
I have an interesting question.

I put into second level cache one table (class) and in case of updating data in this table the second level cache gets updated automatically.
I need to chatch this update immediately and proceed some calculations.
How can I do this?
Does second level cache have any event mechanism to notify the application when the data was updated?

I'll appreciate any help.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 11, 2006 7:15 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
just implement a CacheProvier that does your thing and then delegate to the real cacheprovider.

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.