|
Hi,
I am thinking of using surrogate key (the one
generated by
database) to implement equals() of domain object
for ibatis.
Now is there any pitfall I need to
know???
Anyone doing things this way??
Although 'Hibernate in Action' said this is a bad
idea but
I only want to compare objects that have id so I
guess
this shud be ok.
Thanks,
Sam
|
- database identity (or surrogate key) for equals() Dodo
- isPropertyAvailable doesn't work as expected... ibatis
- RE: database identity (or surrogate key) for equals... Poitras Christian
