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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tMySQLoutput do not capture the data with out tmysqlcommit

recently I found that tmysqloutput do not commit automatically you have to use tmysqlcommit.

 

Can anybody tell me it is by design or there something I am missing?

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

hello @Satyax2019 ,

 

Take a look at this page: https://help.talend.com/reader/NNO~fmVQU4rlkF9Depfdxw/CInUFSCGXiagiSq0fcnFLQ?section=Raa91640

 

It shows how to use a tMySQLConnection and a tMySqlCommit. To do what you want you need to start with creating a connection, do each of your steps, then decide at the end (maybe using a tPostJob) whether everything has happened cleanly (then Commit) or whether you need to rollback (use the tMySQLRollback).

 

Warm Regards,
Manish Suryawanshi,

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

 

 

 

View solution in original post

2 Replies
akumar2301
Specialist II
Specialist II

 

it is always recommended to use Commit component so that you can manage your transactions well.

 

you have other option like

tMySqlConnection - Auto Commit option ( Commit is done for each transaction )

tMySqlOutput ( batch mode also has commit option)

 

 

Anonymous
Not applicable
Author

hello @Satyax2019 ,

 

Take a look at this page: https://help.talend.com/reader/NNO~fmVQU4rlkF9Depfdxw/CInUFSCGXiagiSq0fcnFLQ?section=Raa91640

 

It shows how to use a tMySQLConnection and a tMySqlCommit. To do what you want you need to start with creating a connection, do each of your steps, then decide at the end (maybe using a tPostJob) whether everything has happened cleanly (then Commit) or whether you need to rollback (use the tMySQLRollback).

 

Warm Regards,
Manish Suryawanshi,

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂