How to write custom equals and hashcode in Java action
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.
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.