Hi all,
I am using a hibernate interceptor to set/update the creation date and modification date of an hibernate object.
I want to do the same for associated objects (like a collection of Products of a User), but have no idea how.
The interceptor calls the method
Code:
onCollectionUpdate(Object collection, Serializable key)
for associations which I should use to update/set the field value, but I have no idea how to use this method :( (like how to see which object was modified/dirty) :(
I did some debugging, but really have no clue and can't find any usefull documentation about it.
Can someone please explain to me how to use this method ?
Thanks,
Ed
PS: I am using hibernate 3.5