• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Booking and database file format

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
transaction.
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.

Gilles
 
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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



Herman
 
Gilles Marceau
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
Gilles
 
reply
    Bookmark Topic Watch Topic
  • New Topic