posted 16 years ago
Hi guys,
the method unlock in Data.java will throw out the RecordNotFoundException when the record not found, but here is a case i encountered in the delete method, you know, in the business layer, when we want to delete a record, first, we will lock the record, then, delete the record, last, unlock the record, but because the record had been deleted, so the RecordNotFoundException will be throw out.
what do you guys think about it?
Thank you!
Ronggen
SCJP 1.4,<br />SCJD Java 2,<br />...