Joined: Tue May 24, 2005 7:08 pm Posts: 17 Location: Melbourne
|
Hibernate version:3.0.4
I've implemented Audit logging in hibernate using a combination of various examples i've found. I've noticed that the onFlushDirty() method is not triggered when an object with changes being persisted also contains related persistent objects. Ie, a user with associated roles. It will trigger fine if the user has no roles assigned but not if the user has roles assigned.
Is this expected behaviour ?
I have not included any code as i'm not sure that it will be of benefit yet. If there's any more information I can provide please let me know.
My application also uses Spring 1.2.
many thanks,
rob
|
|