Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JDBC and the fly likes cannot connect to db2 v8 trial version with jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "cannot connect to db2 v8 trial version with jdbc" Watch "cannot connect to db2 v8 trial version with jdbc" New topic
Author

cannot connect to db2 v8 trial version with jdbc

Kelvin Mak
Ranch Hand

Joined: Oct 04, 2002
Posts: 51
I am using DB2 V8.1 trial version, and try to connect with JDBC. My code as following.

It always complain "No suitable driver", I check my reference about the driver string, it is ok. Is it any limit in the db2 trail vesion? Any one meet this situation? Why it cannot use the jdbc driver? thx in advance.


SCJP1.4
Michael Zalewski
Ranch Hand

Joined: Apr 23, 2002
Posts: 168
Doesn't look like you are registering the driver. Only loading the class. Try
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cannot connect to db2 v8 trial version with jdbc