wood burning stoves 2.0*
The moose likes Websphere and the fly likes can any one help me how to solve th problem with jdbc driver for DB2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Websphere
Bookmark "can any one help me how to solve th problem with jdbc driver for DB2" Watch "can any one help me how to solve th problem with jdbc driver for DB2" New topic
Author

can any one help me how to solve th problem with jdbc driver for DB2

Arun Asoorya
Greenhorn

Joined: Jan 20, 2007
Posts: 1
Statement stmt= con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);

i want to open a result set in update mode...
i am getting sql exception that websphere dont support.
can any body tell me how to use resultset in update mode.

java.sql.SQLException: [IBM][JDBC Driver] CLI0626E Updatable result set is not supported in this version of DB2 JDBC 2.0 driver

--------------------
And how to get jdbc drivers for DB2 which supports the updatable result sets.
[ January 20, 2007: Message edited by: Arun Asoorya ]
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30585
    
154

Arun,
Welcome to JavaRanch!

db2 started supporting updatable resultsets in version 8. You can point to the db2java.zip file that came with your db2 8.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
 
subject: can any one help me how to solve th problem with jdbc driver for DB2