Hi, I have a parent collection say employee and it has a collection of addresses. When i update one address or add a new address the employee object is not getting dirty and the isFlushDirty() of the auditing is not getting invoked and the audit properties are not getting generated.
But when i explicitly change a property on employee before auditing, the collections auditing is also getting generated.
So to do updated collections auditing i have to do a fake audit on employee over here.
I have tried other ways like, clearing the session but it is not serving the purpose.
Any thoughts on how this can be done without the fake change to trigger audit.
thanks, Siri
|