Probably I assumed our assignments have common framework
Originally posted by Calum Ludwig
I�m not sure what the requirements state for your assignment but does the key have to be the recNo?
Can you run a search for through the records for similar fields of the newly created record?
Name
Name + Location
Name + Location + Size
In my assignment
-ReadRecord is based on recNo
-UpdateRecord is based on recNo
So is most of the other methods .
That is why I have strong reason to think recNo is the key . I am not sure with a Name + Location key the above methods could be performed.
I would rather like to call it a DuplicateRecordException in create if a Name + Location + size + �..(till all fields) already exist in the db.
SCJP 5.0, SCJD, SCWCD, IBM WCS