What you see is a validation error due to concurrent writes. This will occasionally
happen when using optimistic locking.
This is caused when:
1) Thread1 starts tx
2) Thread1 copies data to workspace
3) Thread2 starts tx
4) Thread2 copies data to workspace
5) Thread2 updates data
6) Thread2 commits
7) Thread1 updates data
8) Thread1 commits - FAILS.
Step 8 fails because the data that Thread1 has is stale since Thread2 has updated it.
This is the version mismatch that you see.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999487#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...