Il giorno martedì 4 agosto 2015 22:34:24 UTC+2, Rick LaBanca ha scritto:
> I use orika for mapping, and my classes have many fields and are named identically. With orika it will by default map these without any other specification. Is there such a thing in jmapper?
>
>
> I also use orika as a general cloner for this reason, it's a lot faster than clone libs. Was thinking of doing the same with jmapper.
With JMapper you need to put on class the @JGlobalMap annotation (
https://github.com/jmapper-framework/jmapper-core/wiki/Global-Mapping). However JMapper works with references, the mapping between two identical bean has no sense, the cloning is not supported.