How do I inform Spring to use local transaction if I have only one datasource and distributed transaction if more than one datasource are involved? From the book "J2EE Without EJB" looks like this is an advantage for Spring vs. J2EE container as J2EE container always use 2-phase commit even for a single data source. I am using Hibernate, thus HibernateTransactionManager as my transaction manager. Any help would be greatly appreciated.
Announcement Announcement Module
No announcement yet.
How to Specify Local vs. distributed transaction in Spring Page Title Module
Move Remove Collapse