This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JDBC and the fly likes DB2 connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic

DB2 connection

Hrvoje Canzek

Joined: Sep 18, 2002
Posts: 16
i use the following code in my application:
con = DriverManager.getConnection("jdbc b2 bName","user","passwd");
my classpath :
set classpath=.;c:\SQLLIB\java\;
Please help me i do not know what to do
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

I think this is supposed to be a part of the thread here, so I've copied it across and I am going to close this thread.
I agree. Here's the link:
subject: DB2 connection