You can force write locks for a read. There is an Option for this (see the Options API).
When used with MVCC, this gives you an exclusive (write) lock, when when you are reading.
And when combined with a transaction, this means you hold the write lock until the tx
completes.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256705#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...