[jboss-user] [JBossCache] - Cache v2.0 Alpha2: Optimistic Locking + Explicit Versioning
chasta
do-not-reply at jboss.com
Mon Jan 15 16:24:06 EST 2007
Hi,
I've been trying to use explicit versioning and experiencing some problems .
On certain cases, the OptimisticValidatorInterceptor is throwing exceptions at commit: When calling wrappedNode.isVersioningImplicit(), 'true' is returned even though I can see that my specialized version object has been assigned to the node. That causes an attempt to cast my specialized version to a DefaultDataVersion, failing the transaction... Do you have any idea what could cause this?
My initial suspicions cause me to raise the following two questions...
1) Does explicit locking apply correctly to node operations such as addChild() ?
2) Does it apply correctly to single Cache.put() calls creating more than one level in the tree?
I know that this is not exactly a detailed report; if needed I can try to narrow the case down and give some more details...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001940#4001940
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001940
More information about the jboss-user
mailing list