title: Check if two objects are equal excluding a few properties
body: <p>Am using spring web and hibernate .
  I need to compare two complex DTOs of the same type one received via POST request body and the other got from the DB .
  There are at least several hundred properties and list of child objects in this DTO .. I have to compare these two DTOs in order to check if any of the fields modified excluding a few properties (20 properties ) .. can someone give me some suggestions on how this can be done easily ..</p>