Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Updating Database directly from JTable editting  RSS feed

 
Tafhim Ul Islam
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This has been asked here and answered well. But I missed some stuff, that the questioner knew beforehand.
I want my database to be updated whenever I edit the JTable that is showing it. I have the data being shown from my Database but the table only updates with each new start of the Application, not immediately when I edit the information through my SQL backend. I want it to update the database and itself whenever I edit the information in it.

This thread had some info but I couldn't find the answer to Step 1
http://www.coderanch.com/t/338715/GUI/java/Update-database-editing-cells-JTable

Please help, I have 7 days before the Project deadline ends.
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
'Maverick Ranger' please check your private messages for an important administrative matter.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!