It's all about the answers!

Ask a question

which driver we should use to connect to DB2?


Kruttika Pendharkar (21174) | asked Jan 05 '12, 7:38 a.m.
Hi,

I want to connect to DB2 Database using java code, to read/update some data related with workitems for a scheduled job.
Which Driver we should use?
Do we have to do any setup for this?
I am using
Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");

and getting "java.sql.SQLException: No suitable driver" in console.

Can somebody please tell me how to resolve this?

Regards,
Kruttika

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.