which of the seemingly dozens of copies of db2java.zip I need to reference in my classpath.
doubtman!
Originally posted by Ashish Kejriwal:
Following code work fine when DB2 is on the same machine.
Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");
Connection con=DriverManager.getConnection("jdbc:db2:TEST","user","password");
But When I tried to access the DB2 on different server
S0F104f:3456 (machinenameort)/DataBaseID as follows: i trid
IPADDRESS:3456/DATABASEID also
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |