DataInfo
test = find((newData.getValues())[0]);
if ((test != null) &&
(test.getRecordNumber()!=newData.getRecordNumber()))
{
throw new DatabaseException("Attempt to create a "+
"duplicate key by modification");
}
Above is a code snippet from modify method of Data class.Do you think when a record is updated is this check required ?.Duplicate key check is only reqired when a new record is added. Is it not.