Closed GoogleCodeExporter closed 9 years ago
Original comment by matt.deb...@gmail.com
on 4 Aug 2012 at 9:14
This seems to happen because Orika favors the use of an existing mapper (which
satisfies the inputs) over generating a new one.
So since the Entity<=>Child mapping happened first (and created a mapping),
this one is found when Entity<=>Parent is passed in.
Perhaps Orika should not consider auto-generated mappings when making this
decision...
Anyway, in the 1.2.0-branch, I find that the desired behavior can be achieved
by adding an explicit mapping for Entity<=>Parent.
Original comment by matt.deb...@gmail.com
on 4 Aug 2012 at 4:36
Unfortunally, an explicit mapping isn't suitable for me.
Original comment by dkhomya...@gmail.com
on 8 Aug 2012 at 8:15
A fix has been applied in the 1.2.0 branch; please check and confirm if you get
a chance...
Original comment by matt.deb...@gmail.com
on 17 Aug 2012 at 10:53
I've tested 1.2.0-branch. All right. Thanks.
Original comment by dkhomya...@gmail.com
on 20 Aug 2012 at 1:01
Original issue reported on code.google.com by
dkhomya...@gmail.com
on 20 Jul 2012 at 6:43Attachments: