-->
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: <cache usage = .../> element
PostPosted: Mon Mar 14, 2005 9:47 am 
Newbie

Joined: Wed Jun 16, 2004 11:48 am
Posts: 3
I intend to use SwarmCache as the Hibernate CacheProvider.
According to Hibernate spec: "The <cache> element of a class or collection mapping has the following form:
transactional|read-write|nonstrict-read-write|read-only"
I am interested in nonstrict-read-write option which is suitable for the situation where it is extremely unlikely that two transactions would try to update the same item simultaneously.
My question is: what happens if this extremely unlikely situation occurs - will the runtime exception be thrown or just dirty/fantom read will happen?


Thanks

Vovan


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.