public interface RecordNumberAppender
| Modifier and Type | Method and Description | 
|---|---|
| void | appendRecordNumber(Database db,
                  DatabaseEntry data,
                  int recno)A callback function to modify the stored database based on the
    generated key. | 
void appendRecordNumber(Database db, DatabaseEntry data, int recno) throws DatabaseException
    When storing records using Database.append it may be
    useful to modify the stored data based on the generated key.    This function will be called after the record number has been
    selected, but before the data has been stored.
    
    The callback function may modify the data DatabaseEntry.    
    The callback function must throw a DatabaseException object
    to encapsulate the error on failure.  That object will be thrown to
    caller of Database.append.
    
db - The enclosing database handle.
    @param data The data to be stored.
recno - The generated record number.DatabaseExceptionCopyright (c) 2004,2014 Oracle. All rights reserved.