Print Page | Close Window

Logging on a table who have done what

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=3827
Printed Date: 07-Sep-2025 at 6:24am


Topic: Logging on a table who have done what
Posted By: pponzano
Subject: Logging on a table who have done what
Date Posted: 30-Nov-2012 at 7:18am
Hello,
I've been asked if it's possible to have ideablade to log on a table what operation a user has done in a trasparent way respect to the rest of the application
something of type

user xxx inserted [VALUES] into table yyy

Is it possible?
Thanks



Replies:
Posted By: sbelini
Date Posted: 30-Nov-2012 at 12:48pm
Hi Pponzano,

You can do your logging in the SaveInterceptor.(http://drc.ideablade.com/xwiki/bin/view/Documentation/save-lifecycle-server)

Also, you might find this post at http://www.ideablade.com/forum/forum_posts.asp?TID=2717&KW=audit&PID=10923&title=auditing-inserts-with-identity-columns#10923 useful, in case you want to retrieve IDs that are generated in the DB.

sbelini.



Print Page | Close Window