Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-2785

DataVersionAdapter.newerThan incorrect when comparing to self

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 4.2.0.GA_CP07, 4.3.0.GA_CP06
    • Clustering, EJB, System
    • None

      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.

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: