[jboss-dev-forums] [Design of JBossCache] - Re: Custom data versions
bstansberry@jboss.com
do-not-reply at jboss.com
Tue Jul 15 14:54:07 EDT 2008
Not from me, other than a vague thought that it would be good to use the testsuite of the Hibernate/JBC2 integration to test this as it develops. I'm not sure how much of a revamp of the integration that would take though; e.g. am I making any assertions about DataVersion values in the testsuite (hope not; seems unnecessary since I can store a "version" value inside the node's data itself.) For sure:
1) the OPTIMISTIC configs would have to be changed to MVCC (better yet add new MVCC configs and tests that use them.)
2) the calls that pass a DataVersion would have to be changed to not do that (or better yet the integration detects MVCC and uses the existing adaptors designed for PESSIMISTIC.)
I suppose a cache-jbosscache3 module could be added to Hibernate core at some point. We'd just have to be sure it doesn't get included in the main build of Hibernate core until it's ready and the main build is ready for it (i.e. don't add a "module" element for it to the top-level Hibernate core pom.)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164581#4164581
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164581
More information about the jboss-dev-forums
mailing list