File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Technology related question
Spring injection issue while using iBatis DAO Object in two classes
Two TransactionTemplate use my single application.
com.sybase.jdbc2.SybConnection: SET CHAINED command not allowed within multi-statement transaction
Ibatis : java.lang.NoClassDefFoundError: com/ibatis/common/xml/NodeletException