aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC2.0 for DB2" Watch "JDBC2.0 for DB2" New topic
Author

JDBC2.0 for DB2

santosh khanwalkar
Greenhorn

Joined: Apr 09, 2003
Posts: 1
Hi friends i am using
1>I am using
IBM DB2 ODBC Driver 7.01.00.00 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.
Jamie
 
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
Db2 invalid column name error
Data Cache
db2java.zip