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 update the table after deleting and editing? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "update the table after deleting and editing?" Watch "update the table after deleting and editing?" New topic
Author

update the table after deleting and editing?

Stephen Joseph
Ranch Hand

Joined: Dec 29, 2000
Posts: 50
Hi Guys!
How do I update my table without restarting my program.ie I should see the results of these updation in the GUI and database without restarting the program
Thanks a lot
Steven
P Subramanian
Greenhorn

Joined: Jul 18, 2001
Posts: 10
Hi,
I could not get you. In your program after updating the database , get the query from the database again and display in the GUI
Subramanian
Stephen Joseph
Ranch Hand

Joined: Dec 29, 2000
Posts: 50
Mr Subramanyam
Can you please answer my silly Q? When I delete a row from the table(in a awt form) and then iterate in the resultset(shown in the awt form )thru next and previous button.I get a NullPointerException at that point of deleted row, and this deletion is updated only at restart.
Can you answer me please?
Steven
Fred Abbot
Ranch Hand

Joined: Jun 01, 2000
Posts: 300
what about refreshing your screen
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: update the table after deleting and editing?