-->
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: refresh cache manually
PostPosted: Wed Jul 26, 2006 9:30 am 
Newbie

Joined: Thu May 25, 2006 12:21 pm
Posts: 11
how can we refresh the cache manually?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 27, 2006 12:33 am 
Expert
Expert

Joined: Thu Dec 23, 2004 9:08 pm
Posts: 2008
If you mean, how do you put new values into the cache, check out http://ehcache.sourceforge.net/ for info. If you mean that you want hibernate to go back to the DB to update all values currently in the cache, you can't. The closest you can get is to call session.refresh(ent).

_________________
Code tags are your friend. Know them and use them.


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.