// load the DB2 Driver Class class1 = Class.forName("COM.ibm.db2.jdbc.app.DB2Driver"); //Db data = new Db(); // Get the connection with authentication Connection connection = DriverManager.getConnection(url, user, password); // Disable auto-commit mode connection.setAutoCommit(false); return connection;
I have db2java.jar in my eclipse project build path.
Caused by: java.sql.SQLException: No suitable driver at java.sql.DriverManager.getConnection(DriverManager.java:545) at java.sql.DriverManager.getConnection(DriverManager.java:171) at com.ibm.lims.databaseobject.impl.BaseDAO.getConnection(BaseDAO.java:82) ... 20 more
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE