Re: Auditing SQL queries

From: Neil Rutherford (nrutherfor..mail.com)
Date: Tue Apr 28 2009 - 08:46:16 EDT

  • Next message: Aristedes Maniatis: "Re: Remote Example"

    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 <andru..bjectstyle.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
    >



    This archive was generated by hypermail 2.0.0 : Tue Apr 28 2009 - 08:46:50 EDT