The SQLDBC_Statement::getLastInsertedKey was set with the wrong parameters.
Check the call in the application program.