On 09/10/2009 05:49 PM, Dennis Reed wrote:
> Should implementations of org.jboss.cache.optimistic.DataVersion ever
> return true for A.newerThan( A ) ?
> I'm guessing not, but the EJB3 entity bean implementation in EAP 4.2/4.3
> does (org.jboss.ejb3.entity.OptimisticJBCCache.DataVersionAdapter).
> This seems to be the cause of a DataVersioningException when hibernate
> tries to remove a node from the cache.
That class is in JBoss AS 4.x, but the org.hibernate.cache.jbc2.util.DataVersionAdapter class has the same problem. I suspect the infinispan version of same does as well, as it was adapted from the JBC version.
Adding Fix Version 3.3.x so this will be fixed in the next bug-fix release in the 3.3 series.
See also https://jira.jboss.org/jira/browse/JBPAPP-2782 for the equivalent fix for the version of this class used in JBoss EAP 4.