Hibernate and equals & hashCode
Java equals & hashCode
How to implement equals and hashCode using the JPA entity identifier (primary key)
Hibernate Facts: Equals and HashCode
Don't Let Hibernate Steal Your Identity
코틀린(Kotlin) data class를 JPA에서 사용시 주의할 점
4.3. Implementing equals() and hashCode() JBoss Enterprise Application Platform 4.3 | Red Hat Customer Portal
Hibernate ORM 5.3.15.Final User Guide