[jboss-user] [JBoss Cache: Core Edition] - Re: java.sql.SQLException: ORA-00001: unique constraint (CCC

system.out do-not-reply at jboss.com
Mon Nov 24 12:37:17 EST 2008


The key/value is ID/collection

Also, about REPEATABLE_READ
anonymous wrote : This level prevents "non-repeatable read" but it does not prevent the so-called "phantom read" where new data can be inserted into the tree from the other transaction

What happens if evictTask is trying to persist the collection Object, while an incoming message has been added to the collection ?  I think by
default the cache loader runs in async mode.  i.e.
<!-- whether the cache loader writes are asynchronous -->
  |             <async>true</async>
If that is correct, maybe the solution would be:
1. set the cache loader to be synchronous
  | 2. set the isolation level to SERIALIZABLE
  | 
  | does it make sense?
  | 
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191838#4191838

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191838



More information about the jboss-user mailing list