You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "berse2212 (via GitHub)" <gi...@apache.org> on 2024/08/13 08:48:23 UTC

Re: [PR] Add an ability to compare equal by equals() method objects with ReflectionBuilder [commons-lang]

berse2212 commented on PR #1137:
URL: https://github.com/apache/commons-lang/pull/1137#issuecomment-2285707277

   Just came here to create the same PR. I need to compare JPA Entities with the same ID but different fields. This is because I want to find the changes between different versions of the entities. Sadly the ReflectionDiffBuilder always uses the shortcut of comparig by equals() which is always true in this case. 
   
   @garydgregory you cannot exclude the equals check this why because it's done before even creating the diff.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org