[jboss-user] [JBoss Cache: Core Edition] - Re: JPA/Hibernate JBC usage

manik.surtani@jboss.com do-not-reply at jboss.com
Fri Apr 3 07:29:15 EDT 2009


"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#4223255

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223255



More information about the jboss-user mailing list