Hi all, My assignment says Database schema ..... ..... The id value (an 8 digit number) of the customer who has booked this. Note that this application, you should assume that customer and CSR know their ids. The system you are writing does not interact with these numbers, rather simply records them.. If this field is all blanks, the record is available for sale.
Now, coming to signature of the server about lock method. public void lock(int recNo) throws RecordNotFoundException; So it doesn't have a parameter for the user id, how do you send this ?
Hi Ulvi, The lock() method is just to lock the record - not to update it. To update the record, you will call a method called update() [who thinks up these names ]. You will use the update() method to store the id value in the record. Regards, Andrew