Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
malikhidayat
Contributor
Contributor

tDBRow Component Returns OK Status but UPDATE Not Applied After Forced Job Termination

Hello Team,

I’m running a Job in Talend Studio that contains many tDBRow components. The job design is roughly as follows:

tDBConnection
tDBRow_1 ---OnComponentOk--> tDBRow_2
tDBClose

In tDBRow_1, there is an UPDATE query on a table.

During execution, I performed a force stop on the job. However, the status of tDBRow_1 is shown as OK. After checking the table, no data was updated (even though the tDBRow_1 component shows OK).
I tried running the same UPDATE query directly in the SQL client, and it successfully updated the data.

What could be the possible cause of this issue, and what is the recommended solution?

Below is the configuration of tDBRow_1:

Basic settings:
- Use an existing connection → Yes
- Schema → Repository
- Die on error → No

Advanced settings:
- Propagate QUERY recordset → No
- Set Query Timeout → No
- Use Prepared Statement → No
- tStatCatcher Statistic → No

Thank you,
Best regards
Malik

Labels (1)
  • SQL

1 Reply
Shicong_Hong
Employee
Employee

Hello

In this example, use a tDBCommit instead of tDBClose to commit the change and close the DB connection, check the 'Close connection' checkbox on tDBcommit.

Regards

Shicong