Open GoogleCodeExporter opened 8 years ago
This is the behaviour by default, but you can use what ever strategy you want
for merging all you have to do is to is to provide a mapper for List to List
and add your custom logic there.
Take a look at this example :
https://github.com/orika-mapper/orika/blob/master/tests/src/main/java/ma/glasnos
t/orika/test/community/CustomMergerTest.java#L157
Original comment by elaat...@gmail.com
on 15 Nov 2014 at 11:50
Thanks for the response. Looking at the example, it seems we will need to
provide a custom mapper for every entity-dto pair. This seems too effort
intensive. It will good to have a generic in-built merging algorithm.
Original comment by gam...@gmail.com
on 15 Nov 2014 at 4:17
Original issue reported on code.google.com by
gam...@gmail.com
on 15 Nov 2014 at 4:49Attachments: