So if I understand correctly you have two different entities but both entities contain the same attributes and you want to find the same object in the other entity with the exact same content.
I would then create an export mapping of the objects so you then have all the contents in one string so you can then match those strings in the other entity. Or creates hashes of that string so you could see if there is a same hash in the other entity.
Regards,
Ronald