• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Bear Bibeault
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Jj Roberts

Fly By Night Modify method problem

 
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic