Skip to Content
0
Former Member
Jun 29, 2007 at 08:59 AM

NullPointerException when retrieving empty clob from database

142 Views

Hello,

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.

Kind regards,

Pierre Lejeune