Informix Error -50912: [Informix][CCL Library] addMapping: class not derived from ixValue.
Cause and resolution
[Informix][CCL Library] addMapping: class not derived from ixValue.
An error occurred in the member function addMapping because the name passed in argument className is not the name of a user-defined class derived from the NewEra Standard Class ixValue. Only classes that are derived from ixValue (either directly or indirectly) and that are not NewEra Standard Classes can be mapped to user-defined types (UDTs). Ensure that the name passed in argument className is the name of a class that is correctly derived and spelled.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50912 fires as described in the archived official text: An error occurred in the member function addMapping because the name passed in argument className is not the name of a user-defined class derived from the NewEra Standard Class ixValue. Only classes that are derived from ixValue (either directly or indirectly) and that are not NewEra Standard Classes can be mapped to user-defined types (UDTs). Ensure that the name passed in argument className is the name of a class that is correctly derived and spelled.
- [Informix][CCL Library] addMapping: class not derived from ixValue, per the archived official text — the direct, named condition.
Solutions / Resolution
- Call
ixSQLConnect::SQLError()for the underlying ODBC error detail, per the archived official text, before trying to resolve this further. - Try a different ODBC driver, per the archived official text, if the error appears driver-specific.
- If the error recurs, note all circumstances and contact Technical Support, per the archived official text.
Examples
N/A
No specific triggering statement is documented beyond the archived official text's own description of this Connectivity Class Library (CCL) condition.
Diagnostic Checks
- Call
ixSQLConnect::SQLError()(or the equivalent for the class involved) to retrieve the underlying driver-level error detail, since the CCL-level message alone is not more specific than what's shown here.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -50912 in this set yet.
[Informix][CCL Library] addMapping: class not derived from ixValue. — per the archived official text, retrieve the ODBC-level error detail via ixSQLConnect::SQLError() before escalating.