Just wondering if the graders perform any
unit testing on Data.java?
The reason I ask is that DBAccess specifies add and delete functionality that does not seem to be a requirement of the GUI application.
I implemented these methods in Data, and I currently have add/delete buttons in the UI, (and will probably remove them).
The reason this is imortant is that the one scenario that could trip up my locking is if userB deletes a record and then creates a new one (thus reusing space), User A may have a handle to the original record but end up modifying a differnt record.
Of course, if add/delete are not available from the UI, then this is a non-issue.
OTH, if there is no add/delete functionality, then a large portion of work on the server goes untested.
Opinions on the intent and scope of these requirements?