This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DB2 JDBC connection

 
Chris Bojinca
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone tell me what jar and what class file should I use to get a JDBC connection to a DB2 database?
Do you have an example of a method that gets such a connection?
Thank you very much
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have a look at Toolbox for Java & JTOpen. You pretty much have 2 standard choices;
If the code is going to be run exclusively on the AS/400, then use the IBM Toolbox for java. If you are going to run it from a client or some other OS, then definitely use JTOpen.
Jamie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic