Several (most?) criteria classes do not override equals - makes testing difficult
---------------------------------------------------------------------------------
Key: HHH-6687
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6687
Project: Hibernate Core
Issue Type: Bug
Components: query-criteria
Affects Versions: 3.6.7
Reporter: Anders Wallgren
Several classes involved in criteria queries do not override equals.
For example, NotNullExpression, Order, etc.
This makes it difficult to write tests where it is desirable to compare expected vs.
actual objects without serious hackery. (Even more so because the classes also do not
provide accessors to instance data.)
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira