This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi Friends, I've written a simple JDBC program with the intension of connecting to DB2 7.02.I've craeted a table in DB and want my JDBC program shown below to connect it.I'm getting the following error.please help me to sort and understand it better. code: import java.util.Hashtable; import java.util.Properties;
Error i got is: java.lang.ClassNotFoundException: COM.ibm.db2.jdbc.app.DB2Driver java.sql.SQLException: No suitable driver at java.sql.DriverManager.getConnection(DriverManager.java:563) at java.sql.DriverManager.getConnection(DriverManager.java:216) at ClientPrograms.JDBCConnectionFromClient.main( JDBCConnectionFromClient.java:43)