Skip to Content
author's profile photo Former Member
Former Member

RFC to JDBC Sync Scenario and get JDBC response

Hi All,

We need to create RFC to JDBC synchronous interface with update_insert action.

And we need to get the number of records updated or inserted as response and map the response and send it back to ECC as RFC response mesg.

I have gone through the help document on JDBC and it says :

The response document has the following format; one of the two values is always 0 because either an UPDATE or an INSERT action is always executed:

<update_count>count</update_count>

<insert_count>count</insert_count>

Now following is the question: Is this this the standard feature? Because in our case Database side they will not be sending any response back.

So with the synchronous receiver JDBC channel would we get this update and insert count as response by default?.

Please help with replies.

Thanks,

Jane

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 17, 2014 at 09:32 PM

    Hi Jane

    No setting needs to be done by the Database team, it is a standard feature.

    Whenever you insert or update records in DB using the JDBC Adapter, you will get the response with the count.

    If insertion fails due to some reason in JDBC Adapter, then there will be no response.

    Regards

    Osman

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.