Hi, reading the documentation regarding auditing, I understood that if I have a serverConstructor on my dataSource, it will be used by default as the auditDSConstructor.
In my dataSource I have a serverConstructor using the Spring bean notation, but when I debug I do not see execution entering my implementation to perform the INSERT on the audit table.
In fact, it does not enter even when explicitly specifying auditDSConstructor. Is there perhaps an issue with the Spring notation?
It only works if I add the serverConstructor for my audit dataSource (by the way, I was wondering whether declaring it there would be equivalent).
In my dataSource I have a serverConstructor using the Spring bean notation, but when I debug I do not see execution entering my implementation to perform the INSERT on the audit table.
In fact, it does not enter even when explicitly specifying auditDSConstructor. Is there perhaps an issue with the Spring notation?
It only works if I add the serverConstructor for my audit dataSource (by the way, I was wondering whether declaring it there would be equivalent).
Comment