]
Steve Ebersole closed HHH-1604.
-------------------------------
Resolution: Rejected
IdentityKey.equals(Object) using == instead of myBean.equals(Object)
--------------------------------------------------------------------
Key: HHH-1604
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1604
Project: Hibernate3
Issue Type: Bug
Components: core
Environment: Hibernate 3.0.1
Reporter: Joel SCHAAL
When trying to remove an instance from the cache with session.evict, I am confused to see
that an instance is not effectively removed.
After getting in the code I see that IdentityKey uses == and not my overrided equals
method in my bean object.
Shouldn't IdentityKey use equals ? It would make more sense, wouldn't it ?
Because in the specification of java.util.Map, it is equals that is mentionned, not ==.
Thanks in advance for letting me know if I am wrong and/or if this will be changed.
Joel.
Class concerned : org.hibernate.util.IdentityMap
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: