in my database interface i have the following method-declaration:
//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 int create(
String[] data) throws DuplicateKeyException;
and my databasedefinition has no "primary key". the only thing what i have is a unique name. and which one should be the record number? should i generate a map with the id's and the unique name? or maybe a map with the id of the record and with the start-position in the db-file?
regards,
[ April 09, 2007: Message edited by: Daniel Vogt ]