This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes JDBC2.0 for DB2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC2.0 for DB2" Watch "JDBC2.0 for DB2" New topic

JDBC2.0 for DB2

santosh khanwalkar

Joined: Apr 09, 2003
Posts: 1
Hi friends i am using
1>I am using
IBM DB2 ODBC Driver DB@CLI.dll
the problem is i cannot use the cursor & record set types other then the default one .I thing the driver supports only JDBC1.0.So can any one suggest where I can get driver for DB2 which supports JDBC2.0
2>The other point for which I would like to get some solution is I am connecting to database through CICS. So is there any way so that I can get data without using CICS directly from JSP on a page + the same page should also display the data which is coming through CICS ( for getting data through CicS I am using COOL:Gen servers.
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

I use the JTOpen toolbox that has a type 4 driver that I use to access my DB2 database. It is open source, free, and reliable. You can download it from here. However, it is recommended that you don't use the JDBC directly in a JSP page, but call a servlet to execute the JDBC code.
I agree. Here's the link:
subject: JDBC2.0 for DB2
It's not a secret anymore!