Using a reference validation rule
After setting up a validation rule, you can apply it on your Job designs. For example, let's apply a referential integrity check validation rule when updating a database with new data. However, before uploading those new data you want to make sure they match the ones already existing in the database.
This scenario is based on the reference check validation rule created in the Referential rule section of the Talend Studio User Guide.
Setting up the Job environment for a reference validation rule
Procedure
Configuring the components for using a reference validation rule
Procedure
Applying the validation rule and viewing the Job execution result
Procedure
Results
Valid data is inserted or updated in the database table and the console displays the rows rejected by the validation rule, along with the number of updates, inserts, and rejects processed in the Job.