I am using mulitple transaction managers (HibernateTransactionManager) one for each database.
During one code flow I believe I start/finish multiple transactions for each database.
I want to make sure all database transactions are part of single transaction. How can I acheive this?
One of the post here suggest to use JTATransaction manager, should I use that in combination with already using Hibernate?
Although I think In case of execption during any phase of application, all the transactions will be rolled back.
I am using Spring 4.1.* and hibernate 3.6.* and NOT using any webcontainer.