on 08-04-2009 4:43 AM
Hi Experts,
My issue is JDBC sender channel polling duplicate records multiple time. In my case it pollled same data 16 time.
Channel settings are as follows:
poll interval : 3600 sec
Availability time:Daily: At 5:00:00 AM For 55 Minutes
I m not getting the exact root cause of this.
please advise and wht can be the possible solution.
thanks in advance
Hey,
In Sender JDBC Channel check whether the Update Query is right.
Cheers
Agasthuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
Query will read the records from the table & Update query will update the table were the records are read by the adapter ,so that it will not read it again & again.
Go thru this
http://help.sap.com/saphelp_nw2004s/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm
Cheers
Agasthuri
Hi Agasthuri,
my query is written like this
SELECT distinct event_id FROM table where rownum < 200
Now just have to write the Update query like this as u suggested
update TABLE set status = 'P' where rownum < 100 and status = 'U'
will it resolve my issue now?
Please specify 'P' and 'U' here.
thanks in advnace.
Hey,
>SELECT distinct event_id FROM table where rownum < 200
Mention the Status Column
>Now just have to write the Update query like this as u suggested
>update TABLE set status = 'P' where rownum < 100 and status = 'U'
Good
>will it resolve my issue now?
Yes, After changing the Query Statement ( That is add Statua Column )
>Please specify 'P' and 'U' here.
P - to mention that those records are Processed by the adapter in the sense it is passed to PI & Adapter will not read it again.
U - Not yet read by the adapter ( If the status is maintained in the table as U the Adapter will read )
Just go thru this Link..I mentioned in the earlier post ,
Cheers
Agasthuri
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.