Hello all,
I'm a newbie to Hibernate, so I'm hoping this is an easy problem.
Basically, I have a web application that uses Tapestry, Spring and Hibernate (v3.1).
I have an event interceptor that gets called on every save-update event for audit logging. I am able to log everything except the user_id, which is stored as an attribute in the httpsession. The presentation layer takes care of storing the user in the HttpSession, of course.
So my question basically is,
is there any way to access the HttpSession from within my implementation of the DefaultSaveUpdateEventListener (which otherwise works like a champ)?
Thanks in advance for your help!
|