This method is called by the OpenAccess SDK layer to map database-specific data types to OpenAccess SDK data types during the fetching of rows from a schema request. This method is called with the DATA_TYPE field returned from either a call to a schema method (that is, sqlipColumns) or by direct executing of a query on an OpenAccess SDK schema table (that is, OA_COLUMNS).
If the mapping of the underlying database types to the OpenAccess SDK data types is not handled in the cursor that is returned, then the sqlipMapToXoType method performs the mapping. The output is a corresponding OpenAccess SDK data type as defined by the XO data type table (see Table 64). The sqlipColumns, sqlipProcedureColumns, sqlipTypeInfo, and sqlipBestRowIdentifier schema methods return a column DATA_TYPE containing a data type code. If the data type mapping is handled at the schema level, then this method simply sets the return value to the input value.
The sqlipGetColspec , sqlipGetParamspec, and sqlipGetColval methods must always return the data type (passed in the iXODataType object) using the OpenAccess SDK data type codes.