[jboss-user] [JBossCache] - Re: Cache v2.0 Alpha2: Optimistic Locking + Explicit Version

manik.surtani@jboss.com do-not-reply at jboss.com
Tue Jan 16 05:14:02 EST 2007


I presume that by (1) you meant explicit versioning.

The answer is yes, since even when creating a node it could have a version applied to it.

As for (2), the explicit version should only be applied to the final (leaf) node, not the intermediate nodes created.  They should receive DefaultDataVersions.  See testExplicitVersionOnLeafImplicitParentCreation() in ExplicitVersionsTest

Do you have a stack trace of these exceptions?  Also, could you tell me the list of calls in such transactions that fail?

Thanks,
Manik

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

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



More information about the jboss-user mailing list