Hello,
I have created JDBC synchronous scenario, in which single record stored in xml file is updated on the database, using action UPDATE_INSERT.
If the record gets updated successfully, I get the update_count and insert_count in the response.
But if there is are any Primary - Foreign key violation, it throws following message
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1/>
<SAP:P2/>
<SAP:P3/>
<SAP:P4/>
<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'DEALER' (structure 'insert'): java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint violated - parent key not found</SAP:AdditionalText>
<SAP:Stack/>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
How can i capture this exception message? Please suggest.