[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-4435) DataVersionAdapter.newerThan incorrect when comparing to self

Brian Stansberry (JIRA) noreply at atlassian.com
Tue Oct 6 16:14:56 EDT 2009


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry closed HHH-4435.
---------------------------------

    Resolution: Fixed

> DataVersionAdapter.newerThan incorrect when comparing to self
> -------------------------------------------------------------
>
>                 Key: HHH-4435
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4435
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: caching (L2)
>    Affects Versions: 3.3.2, 3.5.0.Beta-1
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>             Fix For: 3.3.x, 3.5
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list