Hello,
I need to log some hibernate operations like update, insert and delete. I'd like to use hibernate events to do that.
Because I'm using GWT, I don't have a scope associated with the logged user. My application has GWT, Spring and Hibernate. But I need to get the user and his IP to register the log.
I thought to create a transient property in the base entity class and fill it recursively in the service. But is there another option? Using hibernate events are really the best option to perform this operation?
Thanks,
|