0 Replies Latest reply on Nov 10, 2008 6:50 PM by Richard Ogin

    Is it possible to specify per-session Hibernate interceptors?

    Richard Ogin Newbie

      My goal is to log entity changes with a Hibernate interceptor (thru its event listener setup) for each managed session that I have running when the session is flushed and committed. According to the Hibernate docs, the session interceptor can be specified as one that all sessions use (so must be thread-safe) or as per-session. Is per-session possible with a managed Hibernate session? If so, where would the configuration go?