PDA

View Full Version : Multiple data sources in Spring


Yeshaswi
05-03-2005, 11:03 PM
Hi
Is there anyway of configuring multiple data sources under the same session factory or the same transaction manager? I am trying to access 2 oracle databases in 2 different machines. Can anyone provide a sample Spring configuration ? All the examples I have seen use a single datasource. There is also a mention to use JTA for multiple data sources. Could someone clarify on this.

Mark Pollack
05-04-2005, 01:18 AM
Hi,

You've stumpled onto the wrong forum - this is the one for Spring on .NET. Hop on over to here (http://forum.springframework.org), though I see it looks like you found your way already (http://forum.springframework.org/viewtopic.php?t=5284) ;)

- Mark