<?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: [resolved] tJavaFlex output issue in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tJavaFlex-output-issue/m-p/2329529#M98715</link>
    <description>I suspect you are seeing a difference in performance because previously you were dropping and creating a table for every row from your D_SEJOUR_MVT query. Now you are creating your dataset and inserting it after dropping and creating your table once.</description>
    <pubDate>Fri, 26 Aug 2016 10:43:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-26T10:43:02Z</dc:date>
    <item>
      <title>[resolved] tJavaFlex output issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tJavaFlex-output-issue/m-p/2329524#M98710</link>
      <description>&lt;P&gt;Hi Everyone,&lt;BR /&gt;&lt;BR /&gt;I'm having problem with the component tJavaFlex. I'm using it to create a row for each day between two date as you can see in the printscreen bellow.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFgX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154354i552A0C1BD3B4D747/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFgX.png" alt="0683p000009MFgX.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;It's working well, except when I want to insert the result in my DB, because I want to drop and create the table before the new insert. I did put this Action on table parameter, on my tMSSqlOutput, but because of the tJavaFlex loop, it drop and create a table each time a new loop is finish, ans I only get the last result in my DB.&lt;BR /&gt;&lt;BR /&gt;Does anyone know how change the output flow of tJKavaFlex in only one flow ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Do not hesitate to tell me if my explanation isn't clear enough,&lt;BR /&gt;&lt;BR /&gt;Thank's in advance,&lt;BR /&gt;&lt;BR /&gt;Julien&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 09:06:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tJavaFlex-output-issue/m-p/2329524#M98710</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-26T09:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tJavaFlex output issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tJavaFlex-output-issue/m-p/2329525#M98711</link>
      <description>Can you show us your job structure please? My immediate thought is that if you are connecting using a flow, this shouldn't happen. If you show us your job structure, it will be easier to see what might be happening.</description>
      <pubDate>Fri, 26 Aug 2016 09:18:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tJavaFlex-output-issue/m-p/2329525#M98711</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-26T09:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tJavaFlex output issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tJavaFlex-output-issue/m-p/2329526#M98712</link>
      <description>Hi Rhall, 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFdy.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138496i4A0903CEE167B7B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFdy.png" alt="0683p000009MFdy.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Here is my job structrure, 
&lt;BR /&gt; 
&lt;BR /&gt;Thank's for your help, 
&lt;BR /&gt; 
&lt;BR /&gt;Julien</description>
      <pubDate>Fri, 26 Aug 2016 09:23:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tJavaFlex-output-issue/m-p/2329526#M98712</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-26T09:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tJavaFlex output issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tJavaFlex-output-issue/m-p/2329527#M98713</link>
      <description>OK. It is the tFlowToIterate that is causing the issue.&lt;BR /&gt;&lt;BR /&gt;For every row in the flow that hits the tFlowToIterate, it iterates the rest of the subjob per row. For every iteration, the&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;tMSSqlOutput&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;is restarted which is causing your issue. This is actually quite useful functionality in some situations, but not in this one. What you can do to get round this is to output your data from the tJavaFlex to a tHashOutput and use a tHashInput in a new subjob to read the data in and pass it to the DB.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;An example of how to do this is here:&amp;nbsp;&lt;A href="https://help.talend.com/pages/viewpage.action?pageId=8123271#technical-thashinput-scenario_speed" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/pages/viewpage.action?pageId=8123271#technical-thashinput-scenario_speed&lt;/A&gt;</description>
      <pubDate>Fri, 26 Aug 2016 09:39:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tJavaFlex-output-issue/m-p/2329527#M98713</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-26T09:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tJavaFlex output issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tJavaFlex-output-issue/m-p/2329528#M98714</link>
      <description>Thank's a lot Rhall, this solution is great !! 
&lt;BR /&gt; 
&lt;BR /&gt;Could you please explain me, for my general knowledge, why it's so faster than updating the table each time a loop is finish ? 
&lt;BR /&gt;Update takes more than 300s and tHash solution takes less than 15s. 
&lt;BR /&gt; 
&lt;BR /&gt;Julien</description>
      <pubDate>Fri, 26 Aug 2016 10:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tJavaFlex-output-issue/m-p/2329528#M98714</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-26T10:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tJavaFlex output issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tJavaFlex-output-issue/m-p/2329529#M98715</link>
      <description>I suspect you are seeing a difference in performance because previously you were dropping and creating a table for every row from your D_SEJOUR_MVT query. Now you are creating your dataset and inserting it after dropping and creating your table once.</description>
      <pubDate>Fri, 26 Aug 2016 10:43:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tJavaFlex-output-issue/m-p/2329529#M98715</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-26T10:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tJavaFlex output issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tJavaFlex-output-issue/m-p/2329530#M98716</link>
      <description>That makes sense.
&lt;BR /&gt;
&lt;BR /&gt;Thank's again for your help !!
&lt;BR /&gt;
&lt;BR /&gt;Have a good day,
&lt;BR /&gt;
&lt;BR /&gt;Julien</description>
      <pubDate>Fri, 26 Aug 2016 10:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tJavaFlex-output-issue/m-p/2329530#M98716</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-26T10:53:05Z</dc:date>
    </item>
  </channel>
</rss>

