Skip to Content
0

PI receiver JDBC adapter

Apr 12 at 12:34 PM

18

avatar image
Former Member

Dear All,

I configured the PI interface from CLM to DWH. Here I m using sender file adapter to pick the files from CLM using FCC and update the records in DWH tables using jdbc reciver adapter.

I used action "DELETE" to delete the records and then used action "UPDATE_INSERT" to insert the records if it is new and update if there is existing record but this logic is clearing all the records in the tables and inserting the last record.

Then I used action "DELETE" and action "insert" to meet the requirement to delete teh records before inserting new records in the table but this logic fails when there are duplicate records with same key fields.

Please can you advise why the statement "UPDATE_INSERT" is not inserting records in the table when the table is clear performed by previous action"DELETE"

Thanks,

Ushasri

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Adalid Andrés Hernández Apr 26 at 03:21 AM
0

Hi Ushasri,

Could you please attach an screenshot of how are you performing all the queries?,

In order to check what the statement is doing please follow below steps:

1.- Open the corresponding Communication Channel in the Integration Builder.
2.- Go to Advanced then in additional parameters stick below parameters:
Name: logSQLStatement
Value: true
3.-Save and activate
4.-Restart communication channel

After above steps have been performed you will be able to see what the SQL statement is executing , you can check this thru Message Display Tool in Audit log tab.

Regards,

Adalid Andrés.

Share
10 |10000 characters needed characters left characters exceeded