-
Feature Request
-
Resolution: Done
-
Major
-
1.3.3.Final
-
None
As a result of FORGE-995 and FORGE-1005 the generated equals and hashcode implementations for JPA entities would be typically incorrect due to reliance on the auto-generated primary key value.
Additionally, since the equals and hashCode methods are generated only once during creation of the JPA entity class, these methods would be out of date as more fields are added (unlike the toString method). We should enhance or regenerate the existing methods as new fields are added via the field plugin.
- is related to
-
FORGE-2355 Using Java SE 7 Objects to generate equals and hashcode
- Open