October 2013
Beginner to intermediate
270 pages
5h 41m
English
It is possible to use parameters passed or created in a job to drive the results of a SQL query. This short recipe shows how.
Open the job jo_cook_ch07_0020_contextInQuery, which is a copy of the job from the previous recipe.
The steps to be performed are as follows:
tMysqlInput component.HAVING SUM(o.`orderTotal`) > "+context.minOrderValue.10 and click on Ok.The SQL statement used by tMysqlInput is held in a string, so can be manipulated just as any other string in Java. Thus, we can ...
Read now
Unlock full access