[jboss-user] [JBossCache] - Re: optimistic cache locking

manik.surtani@jboss.com do-not-reply at jboss.com
Fri Feb 2 07:17:05 EST 2007


You need to:

1)  Set NodeLockingScheme attrib to OPTIMISTIC E.g.,


  | <attribute name="NodeLockingScheme">OPTIMISTIC</attribute>
  | 

2)  Configure Hibernate to use the OptimisticTreeCacheProvider instead of TreeCacheProvider

That's it.

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

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



More information about the jboss-user mailing list