Scenario: Rollback from inserting data in mother/daughter tables - 6.1

Talend Components Reference Guide

EnrichVersion
6.1
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for Data Quality
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
EnrichPlatform
Talend Studio
task
Data Governance
Data Quality and Preparation
Design and Development

Based on Scenario 1: Inserting data in mother/daughter tables, insert a rollback function in order to prevent unwanted commit.

  1. Drag and drop tMysqlRollback to the design workspace.

  2. Connect tFileList to tMysqlRollback with an OnSubjobError trigger.

  3. Double-click tMysqlRollback to enter its Basic settings view.

  4. From the Component List, select the connection component.

tMysqlRollback ensures that the transaction will not be partly committed.