wood burning stoves*
The moose likes JDBC 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
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: http://aspose.com/file-tools
subject: JDBC2.0 for DB2
Similar Threads
Is the Oracle Thin driver implementing these 2 interfaces currently?
Difference between app server connection pooling and the driver supported pool
Data Cache
Db2 invalid column name error