Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Fly By Night Modify method problem

 
Surya Gangadharan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I have almost completed the assignment and am in the process of testing the application. I have found a very weird thing happening to the data when I book the flight. I have a JTable row which I double click to book seats (default being 1) and when I say book, it locks the record and calls the modify method of the Data class. Once the seat has been booked the record is deleted from the database (db.db file I mean)!! So the JTable is refreshed and I get only 1 row if there were 2 rows returned from my query. Has anyone else run into the problem? I am in the process of debugging it now but if anyone has run into the same problem please let me know.
Thanks
 
Surya Gangadharan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found the answer to my question. The deprecated getBytes method was not changed properly.
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic