"zeravlai" wrote : 1- If the transaction already has a read lock on the entity
(which is acquired by an EntityManager.find() ) the read lock will be INMEDIATELY upgraded
to write lock, EVEN if there's a concurrent transaction which already has a read lock
on the same entity.
|
Can you confirm that this is with R_R or R_C? Also, could you pls confirm the JBC version
used and that you are using pessimistic locking?
Do you also have this problem with MVCC?
Cheers
Manik
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223255#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...