INVALID_ENTITY_DEFINITION_COMPARABLE_CWPRJ1012E=CWPRJ1012E: IdClass {0} must define equals() and hashCode() methods.
Explanation
Classes that are used as composite entity key classes must implement the equals() and hashCode() methods.
User response
Verify that the IdClass class provides public equals() and hashCode() methods and resubmit the operation.