wood burning stoves 2.0*
The moose likes JDBC and the fly likes DB2 JDBC connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "DB2 JDBC connection" Watch "DB2 JDBC connection" New topic
Author

DB2 JDBC connection

Chris Bojinca
Greenhorn

Joined: Oct 14, 2002
Posts: 13
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

Joined: Jul 09, 2001
Posts: 1879

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DB2 JDBC connection