cancel
Showing results for 
Search instead for 
Did you mean: 

Repitition of Records using JDBC Receiver

Former Member
0 Kudos

Hello Experts,

I am using a scenario RFC -PI - JDBC. When the RFC is executed for the first time on the R3 side it send the data perfectly in the table in the Oracle database.The action field is set to UPDATE_INSERT. Thereafter when it is executed for the second time, the first record is repeated 5000 time and other records are intact as it is. When the RFC is excuted for the third time the entire record gets appended to the entire record in the Database and the first record count also increases by one. The occurence in the receiving structure for access is set to 1 to unbounded and for elements below it is set to 1. On the sender side the occurence is set to 0 to 1. may know the problem might be and what needs to be done for the JDBC adapter to work perfectly fine. The Oracle database is Oracle 8i.

Regards

Accepted Solutions (0)

Answers (4)

Answers (4)

zameerf
Contributor
0 Kudos

>>The occurence in the receiving structure for access is set to 1 to unbounded


Can you try to set the StatementName occurrence to 1 to unbounded and Access node to be 1 to 1?

You can map the sender Record node to StatementName node, so that for each record at sender side an UPDATE_INSERT would be performed at target side Database.

Shabarish_Nair
Active Contributor
0 Kudos

can you check the JDBC XML created for each of these scenarios? How many nodes are being created for the update insert statement?

also enable  logSQLStatement - described in OSS note 801367 for further troubleshooting

iaki_vila
Active Contributor
0 Kudos

Hi,

Have you checked the monitoring?. Are the target XML's similar in the three times?

Regards.

former_member184681
Active Contributor
0 Kudos