[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3820) Criterion should implement equals and hashCode
Craig (JIRA)
noreply at atlassian.com
Thu Mar 19 17:37:38 EDT 2009
Criterion should implement equals and hashCode
----------------------------------------------
Key: HHH-3820
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3820
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.2.6
Reporter: Craig
.equals() doesn't work as expected for Criterion and its subclasses. For example:
assertEquals(Restrictions.isEmpty("parents"),Restrictions.isEmpty("parents"));
fails, when clearly, it should work.
--
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