I am currently in my application maping DTOs to BO (and vice versa) manually. However, this approach is awkward and clumsy.
Is there any good mapper between these two representations?
My requirements follow:
- Should support conversion of JPA proxies to identifiers (DTO should not link to other DTO directly). Or this functionality should be easy to implement
- Should be annotation based, covention over configuration
- Soft criteria: should allow mapping of multiple DTOs to one entity (and vice versa)
Thanks for any suggestions.