[jboss-dev-forums] [Design of JBossCache] - Re: SELECT FOR UPDATE semantics
manik.surtani@jboss.com
do-not-reply at jboss.com
Mon Nov 10 06:34:31 EST 2008
Actually, it is supported. :-)
Just do this:
| // start transaction ...
| cache.getInvocationContext().getOptionOverrides().setForceWriteLock(true);
| Node n = cache.get("/a/b/c"); // this acquires a WRITE LOCK on this node
| ...
| ...
| // end transaction
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188077#4188077
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188077
More information about the jboss-dev-forums
mailing list