I currently working on the
SCJD assigment. I have the problem on the find method. The signature of the find method in DBMain as following:
public int [] find(
String [] criteria)
throws RecordNotFoundException;
It return the array of the int only, not the records itself. So that I need to retrieve the record details from the result of the searching one by one. How can I to prevent other people to modify the records when I retrieving the records details? Should I lock the entire database records ?
[ July 21, 2003: Message edited by: kwwong wong ]