Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3363

JDBC Receiver Adapter Stored Procedure multiple records at time

$
0
0

Hello Experts,

 

I have created scenario for synchronous Proxy to JDBC in which receiver JDBC calls stored procedure. In stored procedure, I am trying to insert multiple records at a time. I have referred following thread:

 

Multiple records via JDBC Receiver Adapter using Stored Procedure

 

I am passing my input structure as XML.

 

When I test scenario, In PI log I get as Database request executed successfully. I don't get any error in PI. But its not updating/Calling ( Not sure ) stored procedure. In stored procedure response, I always get blank output ( Empty Payload ). It should return number of rows changed or exception raised as code for this is written in stored procedure.

 

Can you please help me with ,

 

1. Stored Procedure response parameter name I have given as 'return_value', Is there any specific name to be used ? Because my DB stored procedure developer says, there is no parameter name given for return value in stored procedure. So I have kept it as 'return_value' with type xsd:string.

 

2. Is there any way to confirm from PI that stored procedure is called and executed ? because always I get success message but nothing is happening in DB.

 

3. Can DB guys can get XML which they are receiving from SAP PI ?

 

Here, third party DB is SQL Server 2014.

 

Thanks and Regards,

Gaurav Khandelwal


Viewing all articles
Browse latest Browse all 3363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>