my dog learned polymorphism*
The moose likes Object Relational Mapping and the fly likes Databases are on different-different Machine Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Databases are on different-different Machine Problem" Watch "Databases are on different-different Machine Problem" New topic
Author

Databases are on different-different Machine Problem

Sanket L Shah
Ranch Hand

Joined: May 08, 2009
Posts: 49
hello everyone,

I am new to IBATIS. In one requirement I need to query to two different databases that are on different machines.



My Query is:


If both the databases are on same machine the above code works fine but what if both the databases are on different-different machine?
How can I query both the databases when they are on different machines? Is it possible in IBATIS or in MYSQL?

Thanking You!
Please help!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Databases are on different-different Machine Problem
 
Similar Threads
Two TransactionTemplate use my single application.
Ibatis : java.lang.NoClassDefFoundError: com/ibatis/common/xml/NodeletException
Technology related question
com.sybase.jdbc2.SybConnection: SET CHAINED command not allowed within multi-statement transaction
Spring injection issue while using iBatis DAO Object in two classes