]
Dagguh commented on HHH-3820:
-----------------------------
This is especially troublesome with Mockito. It is unfeasible to test whether a specific
Criterion has been added.
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.
For more information on JIRA, see: