Open GoogleCodeExporter opened 8 years ago
one mistake in the above description, the "Notification" should be
"NotificationStatus".
Original comment by SteveSun...@gmail.com
on 24 Jul 2014 at 2:10
Can you please provide details how getter/setter are named
Original comment by elaat...@gmail.com
on 24 Jul 2014 at 2:13
I use lombok to auto generate setter/getters.
"setNId(String)" and "getNId()" for NotificationViewModel
"setNotificationId(String)" and "getNotificationId()" for NotificationStatus.
If I change "nId" to "NId" as register the mapping configration, it works.
mapperFactory.classMap(NotificationViewModel.class,
Notification.class).field("NId", "notificationId").register();
BTW, I forgot add ".register()" in to the issue description, but I did write
the register() method at the end in my code :-).
Original comment by SteveSun...@gmail.com
on 24 Jul 2014 at 2:32
I once encountered the same issue. The problem is that lombok generates gettes
and setters incorrectly for single-lowercase-char-prefixed properties, if you
don't want to rename properties, you can find solution in
https://code.google.com/p/orika/issues/detail?id=131
Original comment by Nikolajs...@gmail.com
on 16 Sep 2014 at 6:14
Original issue reported on code.google.com by
SteveSun...@gmail.com
on 24 Jul 2014 at 2:09