I see your problem.  Note that this is specifically when checked within the 
same transaction.  If you don't use transactions (I.e., allow optimistic 
locking to create implicit transactions) the problem isn't there.

Added some more unit tests to check this.  See NodeAPITest and it's subclass, 
NodeAPIOptimisticTest.  Two specific tests depict this:  testAddingData() and 
testAddingDataTx().


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997757
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to