DEV Community

Discussion on: Replace a JPA entity with a DTO

Collapse
 
pratikaambani profile image
Pratik Ambani • Edited

Nice one, do you have any idea whether ModelMapper uses Reflections for conversion from Entity to PoJo?

If, we've already got BeanUtils.CopyProperties to parse from typeA to typeB

Collapse
 
maddy profile image
Maddy • Edited

Hi there!

I had to Google your question and the answer seems to be "yes", it uses Reflections.

Here's the link:

groups.google.com/g/modelmapper/c/...

I hope this helps!