cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Lazarev" <>
Subject Determining changes in a dataobject / modification diff
Date Fri, 22 Feb 2008 14:59:07 GMT
Apologies if this has been asked before, I couldn't find anything in the
archives. The problem boils down to this: there is a cayenne object which is
updated via a form. I want to capture changes made to every single modified
field in a DB, the value before modification and the value after. The object
has a number of to-many relationships, which would also have to be checked
one by one. The simplest way I can envision this is by manually creating an
object clone before any modifications are made, and then comparing the two
objects and noting the differences. Is there an easier way to see a diff of
the fields, perhaps by accessing properties of the cayenne object itself? I
am using cayenne 2.

Many thanks,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message