Hi,

I am trying to get 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.DB2D river"));;

If I am trying

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

works fine. But I want net instead of app because I want JDBC 2.0.

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.jav a:210)


Thanks,
Paresh