<?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: How to Commit and Rollback in all the target tables simultaneously in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-Commit-and-Rollback-in-all-the-target-tables/m-p/2225115#M17546</link>
    <description>The t{Database}Connection component would be used for ALL of your tables, not just one. Likewise the t{Database}Commit and Rollback would used for all tables. The (very rough) layout is shown below....&lt;BR /&gt;Connection&lt;BR /&gt;|&lt;BR /&gt;|&lt;BR /&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ---&amp;gt; Target1&lt;BR /&gt;Source -------&amp;gt; Target2&lt;BR /&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;----&amp;gt; Target3&lt;BR /&gt;|&lt;BR /&gt;|&lt;BR /&gt;Commit/Rollback</description>
    <pubDate>Thu, 02 Feb 2017 14:34:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-02-02T14:34:53Z</dc:date>
    <item>
      <title>How to Commit and Rollback in all the target tables simultaneously</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Commit-and-Rollback-in-all-the-target-tables/m-p/2225112#M17543</link>
      <description>Hi i am using TOS 6.2.1 licensed version.&lt;BR /&gt;i have made a job in which i am extracting data from a single source and and inserting into 3 different target tables depending upon conditions.&lt;BR /&gt;i want to commit all the 3 target tables if all the appropriate data are being populated successfully and if from 3 targets the data are not being populated in any of the target tables then rollback will be executed in all the 3 tables.&lt;BR /&gt;i need suggestion as i am confused hoe to do so.. any kind of suggestion is appreciated.&lt;BR /&gt;thanks in advance.&lt;BR /&gt;regards,&lt;BR /&gt;nabarun</description>
      <pubDate>Thu, 02 Feb 2017 09:20:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Commit-and-Rollback-in-all-the-target-tables/m-p/2225112#M17543</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-02T09:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to Commit and Rollback in all the target tables simultaneously</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Commit-and-Rollback-in-all-the-target-tables/m-p/2225113#M17544</link>
      <description>Use a t{database}Connection component to provide your connection. Then at the end of your job use a t{Database}Commit or t{Database}Rollback depending on your success/failure criteria.</description>
      <pubDate>Thu, 02 Feb 2017 10:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Commit-and-Rollback-in-all-the-target-tables/m-p/2225113#M17544</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-02T10:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Commit and Rollback in all the target tables simultaneously</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Commit-and-Rollback-in-all-the-target-tables/m-p/2225114#M17545</link>
      <description>Hi rhall, 
&lt;BR /&gt;thanks for your response. but the solution you are saying is to commit or rollback on a single target table. let me explain my conditions again.. 
&lt;BR /&gt;row 1 : taget1 , target2 , target3 , all sucess-------&amp;gt; COMMIT 
&lt;BR /&gt;row 2: target 1 sucess , target 2 sucess: target 3 failed,then need to roll back on target 1 and target 2 for row 2 along with target 3. 
&lt;BR /&gt;regards, 
&lt;BR /&gt;nabarun</description>
      <pubDate>Thu, 02 Feb 2017 12:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Commit-and-Rollback-in-all-the-target-tables/m-p/2225114#M17545</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-02T12:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Commit and Rollback in all the target tables simultaneously</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Commit-and-Rollback-in-all-the-target-tables/m-p/2225115#M17546</link>
      <description>The t{Database}Connection component would be used for ALL of your tables, not just one. Likewise the t{Database}Commit and Rollback would used for all tables. The (very rough) layout is shown below....&lt;BR /&gt;Connection&lt;BR /&gt;|&lt;BR /&gt;|&lt;BR /&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ---&amp;gt; Target1&lt;BR /&gt;Source -------&amp;gt; Target2&lt;BR /&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;----&amp;gt; Target3&lt;BR /&gt;|&lt;BR /&gt;|&lt;BR /&gt;Commit/Rollback</description>
      <pubDate>Thu, 02 Feb 2017 14:34:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Commit-and-Rollback-in-all-the-target-tables/m-p/2225115#M17546</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-02T14:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to Commit and Rollback in all the target tables simultaneously</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Commit-and-Rollback-in-all-the-target-tables/m-p/2225116#M17547</link>
      <description>In the layout you have shown, the commit and rollback will be executed once the data will be passed through the source. but if the data will be passed through the source but before loading to target it got failed, then also it will be committed, which i want to avoid. 
&lt;BR /&gt;i want the data to be committed or rolled-back depending upon the loading in the target tables not on the source. 
&lt;BR /&gt;thank you for your response though. 
&lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://yutwg22796.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp;</description>
      <pubDate>Thu, 02 Feb 2017 15:38:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Commit-and-Rollback-in-all-the-target-tables/m-p/2225116#M17547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-02T15:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to Commit and Rollback in all the target tables simultaneously</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Commit-and-Rollback-in-all-the-target-tables/m-p/2225117#M17548</link>
      <description>Use a tPostJob component. It is not connected to the main flow and is always executed even if there is a Java error. Connect your Commit and Rollback to that component. You will also need to use some logic based on the number of rows input and the number of rows output at each target. This is easy enough using the component&amp;nbsp;standard&amp;nbsp;globalMap variables.</description>
      <pubDate>Thu, 02 Feb 2017 17:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Commit-and-Rollback-in-all-the-target-tables/m-p/2225117#M17548</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-02T17:45:39Z</dc:date>
    </item>
  </channel>
</rss>

