tJava component allows one-off logic to be added to a job. Common uses of
tJava include setting global or context variables prior to the main data processing stages and printing logging messages.
Open the job
System.out.println("Executing job "+jobName+" at "+TalendDate.getDate("CCYY-MM-dd HH:mm:ss"));
If you examine the code, you will see that the Java code is simply added to the generated code as is. This is why you must remember to add
; to the end of the line to avoid compilation ...