-->
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: caching of Collections during save/update?
PostPosted: Tue May 17, 2005 8:10 am 
Beginner
Beginner

Joined: Mon Nov 08, 2004 11:58 am
Posts: 29
I noticed that collections are only put into cache during loading. during update and insert they are only evicted from the cache.

Why is that? Is there a reason that the collection is not cached during insert and update like every other entity.

The thing that I have a major performance issue because of that.

thanks
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 18, 2005 2:04 am 
Beginner
Beginner

Joined: Mon Nov 08, 2004 11:58 am
Posts: 29
Ok I understand now that update is hard to cache since the collection can be updated concurrently.

But the insertion of a Collection should be cached right?


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.