This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes How to create multiple database connection in Spring 3 and MyBatis 3? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "How to create multiple database connection in Spring 3 and MyBatis 3?" Watch "How to create multiple database connection in Spring 3 and MyBatis 3?" New topic
Author

How to create multiple database connection in Spring 3 and MyBatis 3?

Dinko Babat
Greenhorn

Joined: Apr 17, 2012
Posts: 1
How to make a multiple connection database in Spring 3 and MyBatis 3?
I need to connect MySQL and Oracle at once.
I can only connect to a single database, but when try to connect multiple database it got an error message.
The error message was


My appContext-database.xml


MainService


OraService


Or can you give an example source code to create a multiple connection?

Thanks in advance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create multiple database connection in Spring 3 and MyBatis 3?
 
It's not a secret anymore!