I wonder whether this approach forks for anyone in order to catch a real SQL statement executed in a component tDBRow?
I saw few references to this way but in my case it always returs null. And I found no confirmations from users that it works.
System.out.println( ((String)globalMap.get("row10"))+ ((String)globalMap.get("tDBRow_1_QUERY")) );
and the output is:
[statistics] connecting to socket on port 4009 [statistics] connected nullnull
And yes, the constraction ((String)globalMap.get("row10")) does not work in my case either.
Is there any user here havsing success on this?
Thanks and regards,
Solved! Go to Solution.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Find out how to migrate from one database to another using the Dynamic schema
Read about some useful Context Variable ideas
Pick up some tips and tricks with Context Variables