This content has been marked as final.
Show 3 replies
-
1. Re: locking issues
g-avaguy Aug 1, 2003 9:48 AM (in response to vanitas)Don't know if this will fix, but worth a shot, try the SimpleReadWriteEJBLock.
We are running into reentrant issues and are trying to discover the most effective way to handle them.
Good Luck -
2. Re: locking issues
jbossuser Aug 3, 2003 12:24 AM (in response to vanitas)Also, CMR requires a transaction lock, I believe. I'm guessing its because the CMR collection should not be modified while a read is going over it. Makes sense if that's true, but what a pain because it locks the entity beans over the life of the transaction from that point on.
-
3. Re: locking issues
jbossuser Aug 3, 2003 12:26 AM (in response to vanitas)I also think that with the SimpleReadWriteEJBLock, CMR collection access will still (under the covers) request a write lock, making it no better than the pessimistic case.