I guess you don't necessarilly mean 'existing transaction', but rather,
if there is an existing session on the thread? I think even then this
is useful, because you still want to cover the case of any new sessions
being created.
jürgen höller [werk3AT] wrote:
>...
>For the Session level, we could also offer an "interceptor" property for HibernateTemplate, HibernateInterceptor, and HibernateTransactionManager. The problem is that an interceptor specified there could only be applied if not taking part in an existing transaction. It might still make sense though - what do you think?
>
>Juergen
>
>
|