After upgrading jgroups from 2.5.1 to 2.7.0GA, we encountered ClassNotFoundExceptions that we tracked down to class loader issues between swarmcache (our Hibernate 2nd level cache provider) and jgroups. To make a long story short, we’re now attempting a cut over to jboss cache.
JBoss AS 5.1.0.GA
With that said, here’s my hibernate configuration in which we ran into DataVersioningExceptions with queries…
Is optimistic-entity an inappropriate configuration for a Hibernate 2nd level cache configuration? Assuming so, how do we deal with the DataVersioningExceptions? Is mvcc-entity a more appropriate configuration?