aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Booking and database file format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Booking and database file format" Watch "Booking and database file format" New topic

Booking and database file format

Gilles Marceau
Ranch Hand

Joined: Feb 17, 2007
Posts: 78
Hello Ranchers,

i am starting to work on the SCJD assignment and i am a bit puzzled
about one feature requested at the GUI level : it says the User Interface
"allow the user to book a selected record, updating the database file
accordingly". But in the database file format, there is no field like
"availability" that could be updated by a client during its booking
Should i reuse another field to save in the record the fact that it is
booked ? (it's feasible) Or am i misunderstanding something ?

Thanks for your help.


SCJP 1.5<br />SCJD 1.6<br />SCBCD in progress...
Herman Schelti
Ranch Hand

Joined: Jul 17, 2006
Posts: 387
hi Gilles,

you can use the owner field for that;

(from the instructions.html)
The id value (an 8 digit number) of the customer who has booked this

Gilles Marceau
Ranch Hand

Joined: Feb 17, 2007
Posts: 78
Thanks for your help,

i had missed that point in the instructions. You are right, this
is the field to use during the booking process.

Thanks again,
It is sorta covered in the JavaRanch Style Guide.
subject: Booking and database file format