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 Updatable resultset 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 » Databases » JDBC
Bookmark "Updatable resultset" Watch "Updatable resultset" New topic
Author

Updatable resultset

pankaj patil
Ranch Hand

Joined: Dec 19, 2004
Posts: 98
Hi

i have one table consisting of one column.
in my java code i have created onse result set which is

ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE

initially code fetch the record from the database.
and display the records ,then i insert the record in the database manually though sql interface.

displaying of the records is been done in the while loop.

the record which i have inserted does not get reflected.
can any one tell me the reason wh y it is not getting reflected.

as per the result set type is should get reflected.

Warm Regards
Pankaj


Regards,
Pankaj Patil
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Updatable resultset
 
Similar Threads
Want to refresh Top jsp(Interesting Question)
Accessing a variable from both EL and JSP Expression?
Reading Record by Rec Number
sql problem - sum is Incorrect
Fetching Data From ResultSet