How to write custom equals and hashcode in Java action

0
Hi All, We have a functionality wherein we need to find duplicate by checking multiple fields. Implementing this functionality by implementing custom equals and hashcode would be helpful. Can someone help with where to write this functionality with an example. 
asked
1 answers
0

What I would do is create an export mapping to string of those fields and calculate an hash for this string. You can find a hash function in the community commons. Those records where the hash is the same are duplicates and could easily be found by a microflow.

Hope this helps,

Regards,

Ronald

 

answered