O'Reilly logo

Talend Open Studio Cookbook by Rick Barton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Passing a session to a child job

Following on from the previous task, this recipe shows how a common connection can be passed from a parent job to a child job.

Getting ready

Open the job jo_cook_ch07_0070_databaseSessionParent, which is the same as the completed version from the previous recipe, but with the main process replaced with a child job. On inspection you should see that the child job has a connection set up and it is the same connection as the parent job.

How to do it…

The steps to be performed are as follows:

  1. Run the job. If you inspect the database table testSessionChild, you will see that no records have been added to the database.
  2. Open tMysqlConnection in the parent job.
  3. Tick the box Use or register a shared DB Connection, and set the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required