cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Huss <johnth...@gmail.com>
Subject Re: Change audit framework
Date Thu, 27 Aug 2015 13:46:21 GMT
On Thursday, August 27, 2015, Andrus Adamchik <andrus@objectstyle.org>
wrote:

> Hi John,
>
> Thanks for the feedback.
>
> > On Aug 27, 2015, at 3:26 PM, John Huss <johnthuss@gmail.com
> <javascript:;>> wrote:
> >
> > I'd like to have structured data that can be inspected for particular
> keys,
> > usually attribute names. Rather than a serialized form. My use involves
> > setting a modification time but only if some interesting parts were
> changed.
>
> Yeah, there's an object behind this JSON of course, that can be
> inspected/modified. Just showing JSON to demonstrate what's in there.
>
> > For what it's worth, what Wonder has is two dictionaries, one with the
> > committed values and one with the current values, and the changes can be
> > derived from that.
>
> How does it track relationship changes, deletes, etc. ? Or does it provide
> *DB* snapshots?


It's object level not db.  To-one relationships are just part of the
dictionaries.  To-many relationships are included I think, but I don't
remember the details.  Deletes aren't tracked this way, it's really just
for updates.

I have an implementation for cayenne but I wouldn't inflict it on anyone
else.  The proper implementation would need to look at the ObjectDiffs,
right?


> Andrus

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