cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Rutherford <nrutherf...@gmail.com>
Subject Re: Auditing SQL queries
Date Tue, 28 Apr 2009 12:46:16 GMT
I'm trying to implement this, how can you get the old value from the
snapshot event?

thanks,

Neil

On 11/02/2009, Andrus Adamchik <andrus@objectstyle.org> wrote:
>
>  On Feb 11, 2009, at 1:19 AM, Laurent Marchal wrote:
>
>
> > Yeah i agree that table/field/date/old value/new value is clearer, but it
> seems complex to me to have old/new values.
> >
>
>  Currently this can be done by listening to
> org.apache.cayenne.access.event.SnapshotEvent on the
> DataRowStore (this object is a shared cache attached to a DataDomain). No
> guarantees this won't change after 3.0 though.
>
>  Andrus
>

Mime
View raw message