Can I use like bleow to compare the values of the bean?
Joined: Jun 01, 2010
You are using the no argument constructor of BeanComparator. Have you executed the setProperty() method? If you do not then BeanComparator will try to compare the two objects the "usual way". Alternatively, you can use one of the other two BeanComparator constructors.