• Post Reply Bookmark Topic Watch Topic
  • New Topic

DB2 JDBC connections  RSS feed

 
peterrl doyle
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to connect to a DB2 database using a JDBC connections.

Any help on how i do this?
 
Scott Selikoff
author
Bartender
Posts: 4081
21
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First you need to get the DB2 JDBC driver. This can be downloaded off the net, although I believe there's a jar that comes with DB2 install that you can also use.

Once you have this installed in both your build environment and run-time server environment, you just need to direct JDBC to use this driver. The rest is just learning the basics of JDBC.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!