||Don't Let Hibernate Steal Your Identity|
|Subject:||hibernate id vs UUID|
Response to: hibernate id vs UUID
The problem is that when you base .equals and .hashcode on mutable properties you break Collections framework contract. And some types of collections stop working. So this article provides a workaround for that issue.