-10329: Invalid serial value requested, must be first or last value

Explanation:

The SQLDBC_Statement::getLastInsertedKey was set with the wrong parameters.

User Response:

Check the call in the application program.