Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
ML1702493884
Contributor
Contributor

TALEND UPDATE JOB

Hi,

I have a job that does the update to a dboutput. The job was working perfectly. Now I am facing a strange problem: the job doesn't update anymore, i rechecked everything, the data, the keys, the join... still no updates and with no errors.

I am working with Talend studio 7.3

Thank you in advance for your help

Labels (4)
5 Replies
Anonymous
Not applicable

Hi

I will suggest you to check:

1- If the DBOutput component use an existing connection, make sure the changes have been commit using tDBCommit component.

2- Print the global variable which counts the total number of updated records to see how many records have been updated.

((Integer)globalMap.get("tDBOutput_1_NB_LINE_UPDATED"))

 

Regards

Shong

ML1702493884
Contributor
Contributor
Author

Hi Shong,

Thank you for your answer.

 

For the number of records updated, it still gives 0.

I will add the tDBCommit and run it again.

 

Regards,

 

Anonymous
Not applicable

the number 0 explains why you can't see the data are updated from DB side. For testing, check the 'Die on error' option on tDBOutput, the job will throw out the Java exception error if an error occurs and stop to run.

 

 

TBates1683209008
Contributor
Contributor

Any update?

Anonymous
Not applicable

@Tyler Bates  have you tried that checking the 'die on error' option on tDBOutput and see any error was throw out? the global variable shows 0 means no data was updated.