on 05-12-2009 10:04 AM
I have a JDBC to JDBC scenario in which I want to get the status of the communication channel if the data is placed at the target successfully.
If data is placed successfully at the target system, I want to update a field in the source with a value say "1" or else "0".
Experts please help me in finding out what to do for such a requirement.
Thanks,
Anika
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You may go with Stored Procedures .Use JDBC as sync mode. Form a Stored Procedure for give the
response back using select query.That will solve your problem.If you are using table then the
response is the count of the updated or inserted record.So you can not use that for your requirement.
Regards,
Prakasu.M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
when JDBC reciever is in sync mode, say select or update etc then it will respond back with the number of records that was updated etc ... use that and then update our source accordingly.
Eg. /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step - see the JDBC response in this case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
JDBC sender does not support sync behavior but JDBC receiver does. So you may use Async - Sync - Async communication using the adapter modules as shown here for file.
https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file(Without%252bBPM)
Regards,
Prateek
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.