Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3.1 rc2
Has anyone been using this method? We have an Interceptor instance wired into our Spring LocalSessionFactoryBean and have noticed that:
1) testing with JUnits using the HibernateTransactionManager - this callback is invoked as expected
2) testing using Weblogic's TransactionManager from JNDI - this callback is not invoked. We use this TransactionManager to start a TX via MDB onMessage (CMT) and also for declarative nested transactions via Spring configuration (not CMT). We do not see this callback ever getting called for the nested transactions. Is the reason why the MDB onMessage transaction is not triggering this callback because it is CMT (we saw that in the Interceptor javadoc)? If so, why isn't the other nested transactions being invoked?
Has anyone crafted a solution to ensure that every time a Transaction is started (CMT or non-CMT), that there is an opportunity for code insertion?
Thanks in advance!