Good morning,

I’m looking into replacing our framework developed for EOF that can generated 
an audit document describing what database operations are performed when 
saveChanges() is called. 

We capture the object identity, its entity and attributes changed including 
before and after values. 

I’m trying to do hook into Cayenne right now to just print the entities changed 
and the attributes before and after values to explore how we would do this in 
Cayenne. 

ChatGPT suggested implementing DataChannelSyncFilter and adding a module to set 
it up during configuration. It looks pretty close to what I need except it does 
not compile. So it may be hallucinating. 

I would prefer if the hook can be set up right there before calling 
commitChanges(). Because not everything is audited. 

Thanks in advance,
Ricardo Parada


Reply via email to