Hi
Implement the Observer pattern...
It is built in, in the LCL (TObserved) in TPersistent
You only need to build an Observer, with one method
If need be, "steal" the implementation of TObserved in TPersistent and put it in your db-code

Two small classes with enormous effect.
HTH
Regards Benny