Exact version of JDK I used:
1.6.0_02
Host platform I worked on:
Microsoft Windows XP Service Pack 2
if the current thread already holds a lock than repeated calls to lock would return immediately.
So to put this thing in a short sentence. You suggest that I can allow deadlocks if same client tries to lock the same record more than once.
If I'll do that I'll definitely mention it in javadoc.
Does anyone else have opinion on this?
Dont worry, I let you know if you are wrong before. ;)
Your findByCriteria will (or should) return all 3 records.
2. The search in the GUI:
Beside the ability to search for all reacords and for records where both criteria match
a) The GUI must allow the user to search for records where the name field or the location field exactly match values specified by the user.
b) The GUI must allow the user to search f