<?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 Re: Null value when reading from mysql in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Null-value-when-reading-from-mysql/m-p/2298625#M71068</link>
    <description>&lt;P&gt;You are welccoem!!,Kudos also accepted.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jun 2018 08:35:19 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2018-06-19T08:35:19Z</dc:date>
    <item>
      <title>Null value when reading from mysql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-value-when-reading-from-mysql/m-p/2298622#M71065</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to assign a single value from mysql to a context variable using the following job:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tMysqlinput --&amp;gt; max_finding1(main) --&amp;gt; tJava (a screenshot is also attached)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;tMysqlinput&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;returns only one value:&lt;/P&gt;&lt;P&gt;"select max(id) as mysql_finding_id from finding;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;tJava :&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;System.out.println(max_finding1.mysql_finding_id);&lt;BR /&gt;context.db_id=&lt;SPAN&gt;max_finding1.mysql_finding_id&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I'm getting a null value as a result. while printing the result to a log, I can see the corrected value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do someone knows why I get null?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-value-when-reading-from-mysql/m-p/2298622#M71065</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Null value when reading from mysql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-value-when-reading-from-mysql/m-p/2298623#M71066</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKqNAAW"&gt;@Emmaber&lt;/A&gt;,you need to re-design a job that&amp;nbsp; below way.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tMysqlinput--&amp;gt;tSetGlobalvar&lt;/P&gt; 
&lt;P&gt;--&amp;gt;on Subjob then put tJava and pint the global variable value.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;to know more about tSetGlobalvar use below link.&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/WWQ40R_iTE5~~9VkUQrjgQ/xx0nz4uGJnqyc7dKOLN4Wg" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/WWQ40R_iTE5~~9VkUQrjgQ/xx0nz4uGJnqyc7dKOLN4Wg&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 06:00:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-value-when-reading-from-mysql/m-p/2298623#M71066</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-06-19T06:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Null value when reading from mysql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-value-when-reading-from-mysql/m-p/2298624#M71067</link>
      <description>&lt;P&gt;It works, thank you &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 08:31:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-value-when-reading-from-mysql/m-p/2298624#M71067</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-19T08:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Null value when reading from mysql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-value-when-reading-from-mysql/m-p/2298625#M71068</link>
      <description>&lt;P&gt;You are welccoem!!,Kudos also accepted.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 08:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-value-when-reading-from-mysql/m-p/2298625#M71068</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-06-19T08:35:19Z</dc:date>
    </item>
  </channel>
</rss>

