<?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 Mysql output and Tmap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Mysql-output-and-Tmap/m-p/2235617#M24603</link>
    <description>Hello,
&lt;BR /&gt;I'm using Talend and i'm getting stuck in a small problem :
&lt;BR /&gt;- I have 2 table in input
&lt;BR /&gt;- I have 2 table in output
&lt;BR /&gt;- The second table in output need the id of the first output table (IS_REFERENCE) and one data from the input table (code_barre).
&lt;BR /&gt;I get the code_barre without problem, but i can't get the IS_REFERENCE.</description>
    <pubDate>Sat, 16 Nov 2024 14:27:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T14:27:00Z</dc:date>
    <item>
      <title>Mysql output and Tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Mysql-output-and-Tmap/m-p/2235617#M24603</link>
      <description>Hello,
&lt;BR /&gt;I'm using Talend and i'm getting stuck in a small problem :
&lt;BR /&gt;- I have 2 table in input
&lt;BR /&gt;- I have 2 table in output
&lt;BR /&gt;- The second table in output need the id of the first output table (IS_REFERENCE) and one data from the input table (code_barre).
&lt;BR /&gt;I get the code_barre without problem, but i can't get the IS_REFERENCE.</description>
      <pubDate>Sat, 16 Nov 2024 14:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Mysql-output-and-Tmap/m-p/2235617#M24603</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Mysql output and Tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Mysql-output-and-Tmap/m-p/2235618#M24604</link>
      <description>Hi 
&lt;BR /&gt;From your screenshot, I see that you do nothing for IS_REFERENCE column.
&lt;BR /&gt;You can type in: Numeric.sequence("s1",1,1) for IS_REFERENCE column of the first output table and type in: Numeric.sequence("s2",1,1) for IS_REFERENCE column of the second output table.
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 27 Feb 2008 04:49:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Mysql-output-and-Tmap/m-p/2235618#M24604</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-27T04:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Mysql output and Tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Mysql-output-and-Tmap/m-p/2235619#M24605</link>
      <description>This is an auto increment field, i don't have to set a value (and the table already contain data).
&lt;BR /&gt;And the problem is that i will have to do update or create : so i want to get this value.</description>
      <pubDate>Wed, 27 Feb 2008 07:59:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Mysql-output-and-Tmap/m-p/2235619#M24605</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-27T07:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Mysql output and Tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Mysql-output-and-Tmap/m-p/2235620#M24606</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;This is an auto increment field, i don't have to set a value (and the table already contain data).&lt;BR /&gt;And the problem is that i will have to do update or create : so i want to get this value.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;I found a way to do it! Maybe this is not the cleanest solution but it worked for me, here is what I did 
&lt;BR /&gt;1. I created a Job to load the data for the parent table (with just one mysql input and one mysql output) 
&lt;BR /&gt;2. I created a Job to load the data for the child table, but in this case I needed to add two mysql inputs, one for the parent table and one for the child table, in the map component is where I made the join between these two tables, then I just put in the output table the fields that I needed from the child table and the unique id from the parent table 
&lt;BR /&gt;It's kind of confusing but I hope I made my point clear, if you didn't understand what I did you can contact me or post your doubts here 
&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;</description>
      <pubDate>Mon, 13 Sep 2010 08:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Mysql-output-and-Tmap/m-p/2235620#M24606</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2010-09-13T08:04:19Z</dc:date>
    </item>
  </channel>
</rss>

