W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 2002

getting error for DB2Driver

From: paresh paladiya <pareshpaladiya@hotmail.com>
Date: Tue, 11 Jun 2002 09:20:17 -0400 (EDT)
To: www-jigsaw@w3.org
Message-ID: <LAW2-F66bhyF2fPmsSV0001e522@hotmail.com>




Hi,

  I am trying to load the DB2Driver like following

COM.ibm.db2.jdbc.net.DB2Driver loDriver = new   
COM.ibm.db2.jdbc.net.DB2Driver();
DriverManager.registerDriver(loDriver);
	   System.err.println("loStmt ::" + 
DriverManager.getDriver("COM.ibm.db2.jdbc.net.DB2Driver"));;

and I am getting follwing error

java.sql.SQLException: No suitable driver
    at java.lang.Throwable.<init>(Throwable.java:96)
    at java.lang.Exception.<init>(Exception.java:44)
    at java.sql.SQLException.<init>(SQLException.java:66)
    at java.sql.DriverManager.getDriver(DriverManager.java:210)


Thanks,
Paresh


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com
Received on Tuesday, 11 June 2002 12:57:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:36 GMT