Undefined type causing C# error
Posted on 2012-04-11
I am selecting from a table which contains SDO_Geometry but I am not selecting against the geometry column.
When I use the procedure in oracle, I have no problem but when reading the ref_cursor in the application I receive the following error :"Custom type mapping for 'dataSource='MySource' schemaName='MDSYS' typeName='SDO_GEOMETRY'' is not specified or is invalid "
So I tried looking up the meaning of this and found some references for defining a UDT in the web.config or app.config but I did not see an example of setting up the entry based on an ORACLE Type of SDO_GEOMETRY.
Also, I do not understand why this is even an issue since I am not selecting the Geometry column of the table.
Thanks for your assistance.