I have class A:
public class A {
String title;
List<Object> objects;
//getters, setters
}
And two instances of it:
A instance1 = new A();
instance1.setTitle("one");
instance1.setObjects(someList1);
A instance2 = new A();
instance2.setTitle("two");
instance2.setObjects(someList2);
How can I merge them using BeanDozerMapper so that result would have both titles and full List of Objects?
I had to do custom converter to solve it.