Hi,
Will Interceptor.afterTransactionCompletion be called when using JTA,ie, using sessions from SessionFactory.getCurrentSession()? I link the Interceptor using Configuration.setInterceptor().
Here's my problem....
I want to be able to commit the JTA transaction when I (pseudo)commit my Hibernate transaction. I can write a util class via which all Hibernate transaction operations are performed and perform the jta commit within this but I was hoping that I can use the Interceptor interface to remove the need to create a util class..
Can anyone let me know if there's a better way to do this.
|