-->
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: Problem with collection cache.
PostPosted: Tue Oct 11, 2005 5:04 pm 
Regular
Regular

Joined: Tue Mar 01, 2005 2:35 pm
Posts: 60
Hibernate version:
3.1 rc1

I've got a collection cached with CacheConcurrencyStrategy.READ_WRITE, but the cache is not expired when I run an update query on the table. Is this something that's supposed to happen automatically, or can I do it manually somehow? Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 13, 2005 4:02 pm 
Newbie

Joined: Mon Mar 14, 2005 2:57 pm
Posts: 16
i have the same problem too.

You can clear the collection cache yourself with a call to:

sessionFactory.evictCollection()


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.