||Don't Let Hibernate Steal Your Identity|
|Subject:||Object Identity x DB identity|
I like the idea, but if the UUID uniquely identify the instance (in the equals implementation), if I instantiate two person that should repesent the same one (with the same SSN for example) them equals will tell me they are not equals, isnīt it?
It really seems to me that for 'object identity' we should always use the natural keys, while using surrogate keys for the DB.
Hear us Roar