While updating, keep track of fields modified on destination

10 views
Skip to first unread message

Daniel Felix Ferber

unread,
Oct 26, 2017, 2:46:05 PM10/26/17
to Selma
Hi,

I am wondering if I would be able to track which field were updated when copying from one object to another.

For example, two objects: S (source) and D (destination)

S.fieldA = 1
S.fieldB = 2
S.fieldC = 3

D.fieldA = 1
D.fieldB = 2
D.fieldC = 5

mapper.update(S, D)

I am looking to somehow being notified that fieldC was updated (perhaps a callback, interceptor or a list of changes).

Best regards,
Daniel
Reply all
Reply to author
Forward
0 new messages