Generated Sql Insert statement

One Star

Generated Sql Insert statement

Dear have you any issue for that, i try to spool the sql statement generated by an TOracleOutput component with an insert but it display a "null"
System.out.println("Hello World");
System.out.println(((String)globalMap.get("tOracleOutput_1_QUERY")));
Regards
Seven Stars

Re: Generated Sql Insert statement

You have to check the advanced setting "Enable debug mode" for that globalMap variable to be populated.
One Star

Re: Generated Sql Insert statement

I have successfully printed out the query on to the console by using System.out.println(((String)globalMap.get("tMysqlOutput_1_QUERY"))); in the tjava component. after enabling the enable debug mode in the tmysqloutput. my question is why I am I unable to see the QUERY gloabal variable OUTLINE section(bottom left corner in the studio usually all the global variables are visible when we expand the component in the outline. is there any specific reason why the QUERY global variable is not included.

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog