• 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
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

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
 
Police line, do not cross. Well, this tiny ad can go through:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!