Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot display rows in JTable

 
adeeb alexander
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
My application is unable to display the rows which i inserted using the application itself. When i query the database i can see the data over there. When i inserted the data manually i.e using the query and used the application to display the rows then i could only see the rows which i have inserted through backend. When i insert data through frontend it is not displayed through front end and when i query through backend the data is present. I cant belive how is this possible. Please some one go through it. Code is below.





Thanks and Regards
alexander>
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you inserted data, did you comit your transaction?
 
adeeb alexander
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guyz.
Thanks for your replies. Anywayz i found the mistake. That is i have used rs.next() before one time. I donno how and when i have done that. The problem is any how solved now.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic