That might work, if I inject currentUser into the Interceptor via @In instead of passing
it in through a constructor.
However, I agree that it is a hack. I think I'd rather compare values through
reflection and introspection in an @EntityListeners class than get a Hibernate Interceptor
in through the back door like that.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094200#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...