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 the fly likes ResultSet.updateString() , updateInt() are not updating values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "ResultSet.updateString() , updateInt() are not updating values" Watch "ResultSet.updateString() , updateInt() are not updating values" New topic
Author

ResultSet.updateString() , updateInt() are not updating values

Shounak Kundu
Ranch Hand

Joined: Jul 29, 2010
Posts: 60

Hi,
Here I am .. again to pester you.

This is the code :



Shounak
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

how do you know the values are not being updated?
Shounak Kundu
Ranch Hand

Joined: Jul 29, 2010
Posts: 60

Actually I am finding it by making query from the table..

And i don't see any change in the values.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

What is your database, what is your Driver, are you using transactions, how are you querying the table?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ResultSet.updateString() , updateInt() are not updating values