Hi there!
I need to compare two POJO classes and find out which properties are different. I've tried
BeanComparator (from BeanUtils) but it doesn't shows me the different properties...
For example, I have the following class:
And now I have two instances with different values, and I want to compare them:
Now imagine that my POJO classe have lot's of properties, I don't want to add a "if" for each property... Is there an API that could do this dirty work?
PS: I've considered creating my own utility class using reflection, but first I'm searching for a ready solution. I don't like to reinvent the wheel.