• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DB2 JDBC connections

 
peterrl doyle
Greenhorn
Posts: 1
  • 0
  • 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
Saloon Keeper
Posts: 3889
15
Eclipse IDE Flex Google Web Toolkit
  • 0
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic