[jboss-dev-forums] [Design of JBossCache] - Re: SELECT FOR UPDATE semantics

mircea.markus do-not-reply at jboss.com
Mon Nov 10 03:52:58 EST 2008


anonymous wrote : Does JBoss Cache 3.x support SELECT FOR UPDATE semantics? 
Not at this moment. It can be emulated, though by using pessimistic locking with transactions. e.g. if you are using the repeatable_read isolation level, and read a node within a TX it will be locked and no other tx would be able to modify the node until this one finishes. 
This is not supported on MVCC though, which may be an drawback for you due to performance advantages MVCC brings.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188023#4188023

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



More information about the jboss-dev-forums mailing list