Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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
Labels (2)
2 Replies
alevy
Specialist
Specialist

You have to check the advanced setting "Enable debug mode" for that globalMap variable to be populated.
Anonymous
Not applicable
Author

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.