Re: audit log on normalized data
- From: "H. S. Lahman" <h.lahman@xxxxxxxxxxx>
- Date: Thu, 21 Apr 2005 17:17:59 GMT
Responding to Squirrel...
We have a database. What make changes to tables.
We have persistent objects that map one to one with database tables.
I think you are on the wrong forum. If those "persistent objects" are on the client side, then what you are describing is a RAD USER/CRUD problem that has nothing to do with OO development.
When a change occurs to some high level things in our system, we want to log these changes in a meaningful way. So lets say the user sets the "Customer First Name" on an order. We want to record that the user has set the "Customer First Name" on order 123.
Our database (and therefore our persistent objects) is normalized so that it is often difficult to figure out what particular high level thing a row is associated with. For example if someone changes the "First_Name" field of the Name table, they might be changing the "Customer First Name", or they might be changing some other field in one of the 30 odd places our name table is used.
What's a good way to create a meaningful audit log in this situation? Any suggestions? Any drastic solutions? Simple solutions? Anyone had a similar experience?
Basically you need a table lookup that converts the UI control identity into a Table/Attribute identity. Usually the RAD tools provide that linkage for free in forms.
************* There is nothing wrong with me that could not be cured by a capful of Drano.
H. S. Lahman hsl@xxxxxxxxxxxxxxxxx Pathfinder Solutions -- Put MDA to Work http://www.pathfindermda.com blog: http://pathfinderpeople.blogs.com/hslahman (888)OOA-PATH
.
- Follow-Ups:
- Re: audit log on normalized data
- From: Secret Squirrel
- Re: audit log on normalized data
- References:
- audit log on normalized data
- From: Secret Squirrel
- audit log on normalized data
- Prev by Date: Re: Confusion about splitting classes to allow sharing of resources
- Next by Date: Re: Confusion about splitting classes to allow sharing of resources
- Previous by thread: audit log on normalized data
- Next by thread: Re: audit log on normalized data
- Index(es):