B Miller [
http://community.jboss.org/people/bm4499] created the discussion
"Help needed with repeatable read Atomikos 3.6.5/JBoss Cache 3.2.1"
To view the discussion, visit:
http://community.jboss.org/message/540011#540011
--------------------------------------------------------------
Hi everyone,
I'm trying to get a minimal example of JBoss Cache and repeatable reads running.
I want to do what is described under "Repeatable-Read Example" at
http://community.jboss.org/wiki/JBossCacheMVCC
http://community.jboss.org/wiki/JBossCacheMVCC
I'm using Atomikos EssentialTransactions 3.6.5 as transaction manager and JBoss Cache
3.2.1 GA.
My code and its output is attached. What I want to see is that thread number 2 which I
have
artificially delayed also reads the value 0, however, it says
#2 193999500851447 before put: 1
so it accesses the value modified by thread #1 although thread #2's transaction
started before
thread #1 commits its modified value.
Can anyone tell me what I'm missing?
Thanks in advance!
-- BM
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/540011#540011]
Start a new discussion in JBoss Cache at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]