File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Head First Android this week in the Android 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
Author

DB2 version 8 Type 4 Data Source

Ryan Tang
Greenhorn

Joined: Aug 20, 2003
Posts: 18
Hi,

I am using com.ibm.db2.jcc.DB2ConnectionPoolDataSource 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.

Ryan
Jim Fowler
Greenhorn

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DB2 version 8 Type 4 Data Source
 
It's not a secret anymore!