-->
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.  [ 1 post ] 
Author Message
 Post subject: JBC3 integration: stale collection after child insert
PostPosted: Tue Mar 03, 2009 3:22 am 
Newbie

Joined: Wed Feb 04, 2009 1:44 pm
Posts: 7
I am observing that addition of a child to a previously empty collection results in proper inserts into DB but neither:
- invalidates collection node in JBC3
- nor puts new child entity into cache and updates collection node

Subsequent read requests hit (stale) cache and never get at inserted child. Please see this link for a post containing details of this problem:
http://www.jboss.org/index.html?module= ... c&t=151524

Is it client's responsibility to explicitly evict (empty) collections from 2nd level cache?


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

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.