1.
Any methods that throw RecordNotFoundException should do so if a specified record does not exist or is marked as deleted in the database file.
Which condition should throws this Exception? Since the record has been deleted, why should query it, since shouldn't query it, why throw RecordNotFoundException?
In my DBMain interface have several methods throw this Exception, such as lock and unlock, since the record has been deleted, why lock it?
2. When the client click the "search all" button to search all the records in the db.db file, whether the deleted record is displayed too?
3.
1 byte "deleted" flag. 0 implies valid record, 1 implies deleted record
Because the functions in this application only are search and update, don't include delete or create, what use this "deleted" flag is?
Now, I can think about the deleted record only above, can anybody add more? Post it on this
thread, let's summarize it.