PDA

View Full Version : Multiple data sources


Patrick Vanhuyse
Aug 16th, 2004, 09:07 AM
In a stand-alone application, I have multiple JDBC data sources.
How can I have transactions surrounding theses data sources ?

irbouho
Aug 16th, 2004, 09:46 AM
You can use org.springframework.transaction.jta.JtaTransaction Manager as your transaction Manager, with a distributed transaction manager like JTOM (http://jotm.objectweb.org/).

Patrick Vanhuyse
Aug 17th, 2004, 03:45 AM
Is there any sample doing this ?
How to inject JOTM ? Using beans ?