When I try to retrieve an empty CLOB field from an Oracle database (SQL SELECT query), the return message says :
com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SAP_BUD_ORDRE_INT' (structure 'Statement'): java.lang.NullPointerException
It's because JDBC returns a NULL pointer with an empty CLOB field.
It has nothing to do with the mappings but with the adapter itself.
How can I solve this issue?
Thanks in advance for your answers.