<?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: tOracleInput data being duplicated in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357899#M123080</link>
    <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I am facing with your solution is that I am using inputs from two different oracle connections in my job..&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2017 14:59:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-28T14:59:33Z</dc:date>
    <item>
      <title>tOracleInput data being duplicated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357894#M123075</link>
      <description>&lt;P&gt;Hi All, I'm new to both the forum and Talend and looking for some help here....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a simple job that reads data in from an oracle table, then maps it to tAggregateRow,&amp;nbsp;where I group by the rows I need and perform a count and an average on two others. This is then tMap'd out to another oracle table. Simple right! Problem is that I have 13,187 rows in the table that I'm reading from, and it's loading in&amp;nbsp;52,566. If i run the exact same SQL that is in tOracleInput in SQL Developer, I get the 13,187 I expect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Confused - hope you can help!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 12:08:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357894#M123075</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-27T12:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleInput data being duplicated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357895#M123076</link>
      <description>Resolved</description>
      <pubDate>Wed, 27 Sep 2017 12:43:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357895#M123076</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-27T12:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleInput data being duplicated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357896#M123077</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Could you please share your solution with us? Which will be preferred.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 07:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357896#M123077</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-28T07:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleInput data being duplicated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357897#M123078</link>
      <description>&lt;P&gt;&amp;nbsp;I worked out why I was seeing duplicated data and it was because I had stupidly forgotten to commit after loading. However, I'm still unable to get Talend to successfully do this commit for me. I've tried a number of ways to get tOracleCommit to perform its task, my last one being the diagram shown below. Any help would be greatly appreciated.&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; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lr1W"&gt;commitdiag.png&lt;/A&gt;</description>
      <pubDate>Thu, 28 Sep 2017 11:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357897#M123078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-28T11:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleInput data being duplicated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357898#M123079</link>
      <description>you need to use a tOracleConnection/tOracleCommit together to control transactions in talend. at the beginning of your job, put the tOracleConnection, then configure each oracle input/output component to "use existing connection" and then at the end where you want to commit, place the tOracleCommit.</description>
      <pubDate>Thu, 28 Sep 2017 13:38:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357898#M123079</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-28T13:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleInput data being duplicated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357899#M123080</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I am facing with your solution is that I am using inputs from two different oracle connections in my job..&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 14:59:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357899#M123080</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-28T14:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleInput data being duplicated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357900#M123081</link>
      <description>you would just need two sets of connect/commit components to work with two DB's</description>
      <pubDate>Thu, 28 Sep 2017 15:36:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357900#M123081</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-28T15:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleInput data being duplicated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357901#M123082</link>
      <description>&lt;P&gt;Thanks - just tried that but still no joy. Also, as I'm only retrieving data from one of the data sources, surely I don't need to commit ton this one, only the one that I'm writing to?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see diagram..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help so far, I'm finding it a little frustrating...&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrAj"&gt;commitdiag.png&lt;/A&gt;</description>
      <pubDate>Fri, 29 Sep 2017 15:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357901#M123082</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-29T15:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleInput data being duplicated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357902#M123083</link>
      <description>&lt;P&gt;Since you havnt told us what exact problem you're having, I'm just gonna show you the way I would design a job like this and maybe you'll spot your problem along the way.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;First, get rid of the onComponentOK links you have in there (&lt;SPAN&gt;using onComponentOk is almost always incorrect), then reconnect *everything* using onSubjobOK (disconnected components are almost always incorrect). The job will look something like this:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 874px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lr8n.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142325iAE39958E8DE94FF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lr8n.png" alt="0683p000009Lr8n.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;in each of your oracle components, check the "use an existing connection" checkbox and select the appropriate connection from the "Component List" dropdown:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 544px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrBH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143026i8A28498B75AAA718/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrBH.png" alt="0683p000009LrBH.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Then, at the end of your job, use two tOracleCommit components to close the connections to your DB's by linking each one to the appropriate tOracleConnection component.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 20:38:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357902#M123083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-29T20:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleInput data being duplicated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357903#M123084</link>
      <description>&lt;P&gt;Thanks you very much for taking the time to respond.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I've re-written my job taking note of the steps that you have depicted above and have now managed to get my data how I need it. The problems I was having were a combination of ignorance and stupidity &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 09:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleInput-data-being-duplicated/m-p/2357903#M123084</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-03T09:11:15Z</dc:date>
    </item>
  </channel>
</rss>

