Re: Auditing SQL queries

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Feb 11 2009 - 02:05:13 EST

  • Next message: Laurent Marchal: "Re: Auditing SQL queries"

    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 : Wed Feb 11 2009 - 02:05:46 EST