The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
June 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

try this

Posted by sundara on February 21, 2002 at 10:52 AM

> > Hi .
> > Could you, please help me to get the answer to the following problem.

> > I try to connect from my PC to the DB2 ver.6.1 database installed on the server to read only some data from a table.
> > There is no DB2 for Windows NT on my PC.
> > My Java code has a statement:
> > Class.forName("COM.ibm.db2.jdbc.app.DB2Driver").newInstance();

> Hi Mark -

> Have you tried using :
> Class.forName("COM.ibm.db2.jdbc.net.DB2Driver");
> instead ? This is the network driver.

> Ross Morton

please try this: I also trying to find solution for this




Replies:
  • try this sundara February 21, 2002 at 10:53 AM (0)

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us