As we know , after valid booking action , the db.db should be modified (for example the field of available sites should be modified), but the assignment don't allow us to modify db.db file as follow quote: ************************************************* The suncertify/db directory in this distribution also contains your database file, "db.db". You may not modify this file, but you may move it if you wish. ************************************************* So, the first question is how booking action deal with the db.db file. Further more, the another question is what the booking action should be at all? Sould it includes user log in ? Should it save user information? Wellcome SCJDs give me some advise!
This is what I did. I made a several copies of the original db.db file, so I could test with. The original is in the jar file that they give you anyways.
Sould it includes user log in ? Should it save user information?
Hello HiBob, I understood the line which you have quoted in the following way: On submission, you must include a copy of the original db.db file. For coding and testing purposes, you use another copy of the db.db file. "Moving" the db.db file I understood as placing the file into another directory. Hope this helps.
Same did i. I present a dialog with information on the requested order and the chance to cancel it. I also refresh the row in the table after this (even when the order is canceled).