This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
For the searching part specifications I've got are in two versions in the instruction and the DB interface.
The instruction said:"It must allow the user to search the data for all records, or for records where the name and/or location fields exactly match values specified by the user."
The DB interface said in comment:"
//A non-null value in criteria[n] matches any field
// value that begins with criteria[n]. (For example, "Fred"
// matches "Fred" or "Freddy".)"
I guess I should follow the instruction, shouldn't I?