[jboss-user] [jBPM] - jBPM- Transaction isolation level

HuiSheng Xu do-not-reply at jboss.com
Tue May 4 20:34:58 EDT 2010

HuiSheng Xu [http://community.jboss.org/people/rebody] replied to the discussion

"jBPM- Transaction isolation level"

To view the discussion, visit: http://community.jboss.org/message/541212#541212

Hi Alexander,
 Commonly, jBPM 4 used optimistic lock to prevent concurrent thread modify the same record in database.  When there were splited execution need to be merged, e.g. in the JoinActivity, jBPM 4 used LockMode.UPGRADE to lock the parent execution. It is means that it will send a SQL likes 'select * from T for update' to lock a record in database and prevent other thread modify this line.

  So, if you want to do some integration work, you should consider about using optimistic lock.


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100504/f8978070/attachment.html 

More information about the jboss-user mailing list