[jboss-user] [JBoss jBPM] - Re: job executor explained in a nutshell
do-not-reply at jboss.com
Thu Jun 19 21:43:09 EDT 2008
I must rewrite my last but one reply. I was trying it ones more how it behaves and the blocking I was writing about is not truth.
anonymous wrote :
| No updates will be ever lost with higher isolation levels. The database will ensure that no two transactions that update the same data item can proceed.
Yes, I agree.
If we set transaction to repeatable read isolation level, in my opinion optimistic locking does not work, because during whole transaction we always read same version of our row. The application can not see that another commited tx updated some row (bacause we have repeatable read).
I think that optimistic locking needs non-repeatable read to work but jbpm docs says opposite.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159422#4159422
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159422
More information about the jboss-user