[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4435) DataVersionAdapter.newerThan incorrect when comparing to self
Brian Stansberry (JIRA)
noreply at atlassian.com
Fri Sep 11 17:56:50 EDT 2009
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.5.0.Beta-1, 3.3.2
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 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