Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
3.3.2
-
None
Description
For example, a bean (e.g. a JPA record) has equals() overridden with a implementation that tests its "id" property. If two beans have the same ID, they correspond to the same record in the database. However, without tricking the objectsTriviallyEqual check in the DiffBuilder constructor, there is no way to build a DiffResult using "before" and "after" instances with changes to other properties (name, modification time, etc).