[JBoss-user] [EJB/JBoss] - Optimistic Locking policy in jboss

2006-02-21 Thread sriramp_here
Hi I have a question regarding locking policy in jboss. I am using an oracle database. Now what I am doing is, I am updating a set of records from oracle using normal JDBC Connection (using a datasource of course), from an MDB.The update operation takes some time since there are a number of

[JBoss-user] [EJB/JBoss] - Optimistic locking

2005-12-28 Thread ereze
To improve concurrency and to avoid deadlock I want to use Optimistic Locking using object version field. My system currently uses cache option A. Is it true that in order to use Optimistic Locking I need to use cache option B or C but NOT A? Do I have to use Instance Per Transaction container