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

Reply via email to