Good morning Lukas,

Thanks for the links. It's good to see that other people have the same 
issue. I'll give some thoughts.

For the moment, I'll work with "wrappers" (we have already business objects 
that can wrap records, they are well suited).
Thanks,

stan.

On Sunday, November 17, 2013 1:44:24 PM UTC+1, Lukas Eder wrote:
>
> Hello,
>  
> This would allow you to override equals() and hashCode() behaviour to use 
> only primary key values for equals() and hashCode() evaluation. If that's 
> too risky (it probably is), you might consider providing an external equals 
> and hashCode provider to the Set. It's a generally interesting topic. I 
> haven't found such a thing in Guava after a short search, but there's a 
> possibility of implementing
> org.apache.commons.collections.map.AbstractHashedMap
>
> In that class, you can just override the protected hash(), isEqualKey(), 
> isEqualValue(), and createEntry() methods.
>
> Here's a related Stack Overflow question:
> http://stackoverflow.com/a/20030782/521799
>
> Cheers
> Lukas
>  

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to