Hi guys,

DTO feature is awesome but doesn't work in update mode since isNew
doesn't use a managed entity.

When using a mapper we should call find and pass it to the mapper (or
create a new unmanaged entity if not found). So mapper signature
should be Entity toEntity(Entity, DTO) no?

Otherwise users need to do the find in the mapper...almost eveytime.

wdyt?


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau

Reply via email to