October 2013
Beginner to intermediate
270 pages
5h 41m
English
Following on from the previous task, this recipe shows how a common connection can be passed from a parent job to a child job.
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.
The steps to be performed are as follows:
testSessionChild, you will see that no records have been added to the database.tMysqlConnection in the parent job.Read now
Unlock full access