Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

which driver we should use to connect to DB2?

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

0 votes


Be the first one to answer this question!

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Jan 05 '12, 7:38 a.m.

Question was seen: 4,108 times

Last updated: Jan 05 '12, 7:38 a.m.

Related questions
Confirmation Cancel Confirm