-
Type: Bug
-
Status: Done (View Workflow)
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: common 0.11
-
Fix Version/s: common 0.11
-
Labels:None
Right now we have:
if (getClass() != obj.getClass()) { return false; }
This is not a correct way to work with entities managed by Hibernate, it should use instanceof, otherwise Entity and Proxy of Entity will be different even if it's a proxy for the very same entity.