I'm trying to register the SessionFactoryUtil.SpringSessionSynchronization with the JtaTransactionManager I have configured as:
This is because I need full JTA transaction but Hibernate is part of these transactions and I have a problem where the Hibernate Session isn't being flushed before commit.Code:<bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager"> <property name="userTransactionName"> <value>UserTransaction</value> </property> </bean>
Does anyone know how to register the above SpringSessionSynchronization with the JtaTransactionManager in the configuration?


Reply With Quote