<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Does it ever fork for anyone? ((String)globalMap.get(&amp;quot;tDBRow_1_QUERY&amp;quot;)) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Does-it-ever-fork-for-anyone-String-globalMap-get-quot-tDBRow-1/m-p/2259090#M40679</link>
    <description>&lt;P&gt;Hi folks&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I wonder whether this approach forks for anyone in order to catch a real SQL statement executed in a component&amp;nbsp;tDBRow?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;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.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="null.PNG" style="width: 747px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7dt.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146931iE7C48E47ACA64139/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7dt.png" alt="0683p000009M7dt.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tJava_2:&lt;/P&gt; 
&lt;PRE&gt;System.out.println(
((String)globalMap.get("row10"))+
((String)globalMap.get("tDBRow_1_QUERY"))
);&lt;/PRE&gt; 
&lt;P&gt;and the output is:&lt;/P&gt; 
&lt;PRE&gt;[statistics] connecting to socket on port 4009
[statistics] connected
nullnull&lt;/PRE&gt; 
&lt;P&gt;And yes, the constraction&amp;nbsp;((String)globalMap.get("row10")) does not work in my case either.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is there any user here havsing success on this?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks and regards,&lt;/P&gt; 
&lt;P&gt;Alex&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:35:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T04:35:46Z</dc:date>
    <item>
      <title>Does it ever fork for anyone? ((String)globalMap.get("tDBRow_1_QUERY"))</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Does-it-ever-fork-for-anyone-String-globalMap-get-quot-tDBRow-1/m-p/2259090#M40679</link>
      <description>&lt;P&gt;Hi folks&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I wonder whether this approach forks for anyone in order to catch a real SQL statement executed in a component&amp;nbsp;tDBRow?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;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.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="null.PNG" style="width: 747px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7dt.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146931iE7C48E47ACA64139/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7dt.png" alt="0683p000009M7dt.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tJava_2:&lt;/P&gt; 
&lt;PRE&gt;System.out.println(
((String)globalMap.get("row10"))+
((String)globalMap.get("tDBRow_1_QUERY"))
);&lt;/PRE&gt; 
&lt;P&gt;and the output is:&lt;/P&gt; 
&lt;PRE&gt;[statistics] connecting to socket on port 4009
[statistics] connected
nullnull&lt;/PRE&gt; 
&lt;P&gt;And yes, the constraction&amp;nbsp;((String)globalMap.get("row10")) does not work in my case either.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is there any user here havsing success on this?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks and regards,&lt;/P&gt; 
&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:35:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Does-it-ever-fork-for-anyone-String-globalMap-get-quot-tDBRow-1/m-p/2259090#M40679</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Does it ever fork for anyone? ((String)globalMap.get("tDBRow_1_QUERY"))</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Does-it-ever-fork-for-anyone-String-globalMap-get-quot-tDBRow-1/m-p/2259091#M40680</link>
      <description>&lt;P&gt;Because&amp;nbsp;&lt;SPAN&gt;tJava component is executed first but only once in the subjob.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Use tJavaFlex or tJavaRow instead.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 09:42:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Does-it-ever-fork-for-anyone-String-globalMap-get-quot-tDBRow-1/m-p/2259091#M40680</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-09-24T09:42:10Z</dc:date>
    </item>
  </channel>
</rss>

