Regards, Richard
Regards, Richard
// Modifies the fields of a record. The new value for field n
// appears in data[n]. Throws SecurityException
// if the record is locked with a cookie other than lockCookie.
public void updateRecord(long recNo, String[] data, long lockCookie)
throws RecordNotFoundException, SecurityException;
// Deletes a record, making the record number and associated disk
// storage available for reuse.
// Throws SecurityException if the record is locked with a cookie
// other than lockCookie.
public void deleteRecord(long recNo, long lockCookie)
throws RecordNotFoundException, SecurityException;
// Creates a new record in the database (possibly reusing a
// deleted entry). Inserts the given data, and returns the record
// number of the new record.
public long createRecord(String [] data)
throws DuplicateKeyException;
Regards, Richard
Richard:
4) During the course of create/delete/update/find record data,is that necessary to wrap the records into a Collection (like List or Set) for easy operation?
Regards, Richard
Richard:
4) During the course of create/delete/update/find record data,is that necessary to wrap the records into a Collection (like List or Set) for easy operation?
Bill:
I am not saying its wrong I am just not sure what the purpose is? Locking/Unlocking?
Richard:
4) During the course of create/delete/update/find record data,is that necessary to wrap the records into a Collection (like List or Set) for easy operation?
Regards, Richard
Regards, Richard
Don't get me started about those stupid light bulbs. |