File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Database records are not added in JTable 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 » Java » Swing / AWT / SWT
Bookmark "Database records are not added in JTable" Watch "Database records are not added in JTable" New topic
Author

Database records are not added in JTable

pooja prabhu
Ranch Hand

Joined: Sep 23, 2012
Posts: 33
When I click on button all relevant records are added to JTable and if it doesn't contain any record..wen i click on that same button second time in same run...it doesn't show any records even if its present in database.
Kemal Sokolovic
Bartender

Joined: Jun 19, 2010
Posts: 825
    
    5

As one of the great Ranchers once said, and I quote: "SSCCE or it didn't happen".

Especially if I can't understand what the issue really is from your question.


The quieter you are, the more you are able to hear.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38517
    
  23
And how did you run the database app from the command line/terminal?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Database records are not added in JTable