2. equals() and hashcode() for JPA entities using EclipseLink stackoverflow.com
Using JPA, I stumbled upon the problem with
3. Should the id field of a JPA entity be considered in equals and hashCode? stackoverflow.com
I hit a problem when writing tests for a database application using JPA2 and EclipseLink: I add some entity to a database, retrieve it later and want to compare it to an ...