We're writing a J2EE/Oracle app. We have a requirement to track changes to specific columns in a subset of our tables. We need to be able to show the before and after column values. And this history needs to be available at any time. So if a column has been changed 10 times over the last year, we need to show the 10 different column values over that time.
What is the best way to provide this functionality?
One thought was to have the code record the changes in a seprate set of 'history' tables. I've also been trying to figure out if Oracle's LogMiner can be used to satisfy this requirement. I'm kind of stumbling around in the dark. There must be a preferred or standard way to satisfy this requirement as I'm sure others have had to do the same thing.
Can anyone please help shed some light on this topic? Thanks.
What is the best way to provide this functionality?
One thought was to have the code record the changes in a seprate set of 'history' tables. I've also been trying to figure out if Oracle's LogMiner can be used to satisfy this requirement. I'm kind of stumbling around in the dark. There must be a preferred or standard way to satisfy this requirement as I'm sure others have had to do the same thing.
Can anyone please help shed some light on this topic? Thanks.