aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 29230
    
135

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can any one help me how to solve th problem with jdbc driver for DB2
 
Similar Threads
DB2 version 8 Type 4 Data Source
jdbc FOR UPDATE clause limitation
quick question on DB2 JDBC encoding
how to use Scrollable ResultSet on WebSphere 4.0
db2 type 4 driver result set fetch size