<?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: 2 subjobs commit in same transaction in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/2-subjobs-commit-in-same-transaction/m-p/2261786#M42457</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LR9vAAG"&gt;@michaelh&lt;/A&gt;&amp;nbsp;, You can take the on component ok from sub2 and connect to commit. and You remove the On Subjob ok from tDBconnection to Sub2 job.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 May 2020 06:14:41 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2020-05-22T06:14:41Z</dc:date>
    <item>
      <title>2 subjobs commit in same transaction</title>
      <link>https://community.qlik.com/t5/Talend-Studio/2-subjobs-commit-in-same-transaction/m-p/2261785#M42456</link>
      <description>&lt;P&gt;I have two subjobs inserting data in two different tables. What i need is to commit all data in one transaction. How can i achieve this?&lt;/P&gt; 
&lt;P&gt;1st one is insetring into table authors and 2nd one into table books. but after some testing i noticed that if the second job failed, the first one have already commited rows into first table.&lt;/P&gt; 
&lt;P&gt;I tried to use tDBConnection for this but its not working as expected as you can see in the picture:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tal3.PNG" style="width: 849px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZpH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153272i88779B5931A61C5F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZpH.png" alt="0683p000009MZpH.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;And in the child component if i tick "use an existing connection" the combobox is empty.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is there any way how to force subjobs commit in one transaction?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:24:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/2-subjobs-commit-in-same-transaction/m-p/2261785#M42456</guid>
      <dc:creator>michaelh1</dc:creator>
      <dc:date>2024-11-16T02:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: 2 subjobs commit in same transaction</title>
      <link>https://community.qlik.com/t5/Talend-Studio/2-subjobs-commit-in-same-transaction/m-p/2261786#M42457</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LR9vAAG"&gt;@michaelh&lt;/A&gt;&amp;nbsp;, You can take the on component ok from sub2 and connect to commit. and You remove the On Subjob ok from tDBconnection to Sub2 job.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 06:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/2-subjobs-commit-in-same-transaction/m-p/2261786#M42457</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-22T06:14:41Z</dc:date>
    </item>
  </channel>
</rss>

