Closed GoogleCodeExporter closed 9 years ago
Please try just to add
mapperFactory.classMap(SearchRecord.class,
SearchRecord2.class).byDefault().register();
otherwise Orika will choose the previous parent generated mapper.
Original comment by elaat...@gmail.com
on 21 Nov 2012 at 12:06
Why do you close it? There is a work around, ok. But the behavior is obviously
inconsistent. Rename the "getBaseRecords()" method to "getZBaseRecords()" and
it will work as expected without custom mapping.
Besides, the project site says your motivation is "to build a comprehensive,
efficient and robust Java bean mapping solution. Orika focuses on automating as
much as possible, while providing customization through configuration and
extension where needed.". Automation is possible here.
Original comment by wirch.ed...@gmail.com
on 21 Nov 2012 at 12:35
[deleted comment]
Sorry, I missed your point.
Original comment by elaat...@gmail.com
on 21 Nov 2012 at 2:01
In fact this was known bug, Matt was reporting it
https://code.google.com/p/orika/issues/detail?id=53
Please take a look and confirm.
And Thanks for the TestCase :)
Kindest regards
Original comment by elaat...@gmail.com
on 21 Nov 2012 at 4:15
Yes, looks like the same.
Original comment by wirch.ed...@gmail.com
on 22 Nov 2012 at 7:49
Merging into issue #53
Original comment by matt.deb...@gmail.com
on 22 Nov 2012 at 8:53
Original issue reported on code.google.com by
wirch.ed...@gmail.com
on 20 Nov 2012 at 4:24