BasicLazyInitializer use overridesEquals() to know if hashCode() is overrided.
------------------------------------------------------------------------------
Key: HHH-2195
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2195
Project: Hibernate3
Type: Bug
Components: core
Versions: 3.2.0.ga
Reporter: Adrien
Priority: Trivial
Attachments: patch.txt
In BasicLazyInitializer, there is the following code.
else if ( !overridesEquals && "hashCode".equals(methodName) ) {
return new Integer( System.identityHashCode(proxy) );
It should be :
else if ( !overridesHashCode && "hashCode".equals(methodName) ) {
return new Integer( System.identityHashCode(proxy) );
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira