[hibernate-issues] [Hibernate-JIRA] Closed: (HBX-180) NPE with hashcode method
Steve Ebersole (JIRA)
noreply at atlassian.com
Mon Mar 21 13:01:01 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole closed HBX-180.
------------------------------
Closing stale resolved issues
> NPE with hashcode method
> ------------------------
>
> Key: HBX-180
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-180
> Project: Hibernate Tools
> Issue Type: Bug
> Components: hbm2java
> Reporter: Henri Dupre
>
> The current hashCode() method generates code like "castOther.getxxxx().hashCode()". When the field xxxx is null an NPE will be raised. I suggest to go back to Apache HashCodeBuilder, I can submit a patch for that.
--
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