aspose file tools
The moose likes JDBC and Relational Databases and the fly likes DB2 version 8 Type 4 Data Source Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "DB2 version 8 Type 4 Data Source" Watch "DB2 version 8 Type 4 Data Source" New topic

DB2 version 8 Type 4 Data Source

Ryan Tang

Joined: Aug 20, 2003
Posts: 18

I am using and have set the driverType property to 4, but the connection drawn from the data source does not support updatable ResultSet. Websphere application server reports that the JDBC driver version is 2.

How can I configure a DB2 data source such that the connection got from the data source support updatable ResultSet?

Thank you.

Jim Fowler

Joined: Feb 24, 2005
Posts: 1
Make sure you have specifed for WebSphere to use the Universal database driver for DB2. On many platforms, the default database driver does not support updatable ResultSets, but the Universal driver does.

Jim Fowler
It is sorta covered in the JavaRanch Style Guide.
subject: DB2 version 8 Type 4 Data Source