Report question

Question: How to implement equals() and hashcode() methods in BaseEntity of JPA?