This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 30076
    
149

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
 
Consider Paul's rocket mass heater.
 
subject: can any one help me how to solve th problem with jdbc driver for DB2
 
Similar Threads
quick question on DB2 JDBC encoding
jdbc FOR UPDATE clause limitation
DB2 version 8 Type 4 Data Source
db2 type 4 driver result set fetch size
how to use Scrollable ResultSet on WebSphere 4.0