<?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: Is it necessary to use tDBCommit and tDBRollback after tDBOutput? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Is-it-necessary-to-use-tDBCommit-and-tDBRollback-after-tDBOutput/m-p/2210606#M8956</link>
    <description>&lt;P&gt;It depends. If the tDBOutput components use an external connection than if this connection has no auto-commit option activated you have to commit or rollback after the whole flow has been finished.&lt;/P&gt;&lt;P&gt;You can trigger the tDBCommit with OnSubjobOk and the tDBRollback with OnSubjobError.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your tDBOutput creates its own connection than both are done automatically.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Apr 2023 07:55:57 GMT</pubDate>
    <dc:creator>jlolling</dc:creator>
    <dc:date>2023-04-28T07:55:57Z</dc:date>
    <item>
      <title>Is it necessary to use tDBCommit and tDBRollback after tDBOutput?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Is-it-necessary-to-use-tDBCommit-and-tDBRollback-after-tDBOutput/m-p/2210604#M8954</link>
      <description>&lt;P&gt;I'm wondering here if I should add&amp;nbsp;tDBCommit and tDBRollback after tDBOutput?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, in tDBRollback case,&lt;/P&gt;&lt;P&gt;if the job fails, it will not be executed and there will be error message, regardless of whether there is a tDBRollback component or not.&lt;/P&gt;&lt;P&gt;So I was wondering does it help to use tDBRollback?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In tDBCommit case,&amp;nbsp; what's the different between setting 'auto commit' in DBConnection and use tDBCommit?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:39:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Is-it-necessary-to-use-tDBCommit-and-tDBRollback-after-tDBOutput/m-p/2210604#M8954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T02:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is it necessary to use tDBCommit and tDBRollback after tDBOutput?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Is-it-necessary-to-use-tDBCommit-and-tDBRollback-after-tDBOutput/m-p/2210605#M8955</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Rollback components are used to make sure that entire data is rolled back in case the input data volume is high and your DB load failed in between.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;For example, you have 1 million records and data will be written to table at regular intervals since we will not be able to pump 1 million in a single batch. When the data load reached 50,000 records, you got some error data and job failed. Now, the initial 50k records are still in DB but ideally you need to roll these data back. tDBRollback helps in this context where it will rollback from all the associated tables (this table and any previous tables) which got loaded under same tDBConnection unless you have given an explicit commit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please refer the link below for a quick sample scenario too?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.talend.com/reader/jomWd_GKqAmTZviwG_oxHQ/7THiSA~u~mPb7PskcQONMQ" alt="https://help.talend.com/reader/jomWd_GKqAmTZviwG_oxHQ/7THiSA~u~mPb7PskcQONMQ" target="_blank"&gt;https://help.talend.com/reader/jomWd_GKqAmTZviwG_oxHQ/7THiSA~u~mPb7PskcQONMQ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 06:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Is-it-necessary-to-use-tDBCommit-and-tDBRollback-after-tDBOutput/m-p/2210605#M8955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-27T06:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is it necessary to use tDBCommit and tDBRollback after tDBOutput?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Is-it-necessary-to-use-tDBCommit-and-tDBRollback-after-tDBOutput/m-p/2210606#M8956</link>
      <description>&lt;P&gt;It depends. If the tDBOutput components use an external connection than if this connection has no auto-commit option activated you have to commit or rollback after the whole flow has been finished.&lt;/P&gt;&lt;P&gt;You can trigger the tDBCommit with OnSubjobOk and the tDBRollback with OnSubjobError.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your tDBOutput creates its own connection than both are done automatically.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 07:55:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Is-it-necessary-to-use-tDBCommit-and-tDBRollback-after-tDBOutput/m-p/2210606#M8956</guid>
      <dc:creator>jlolling</dc:creator>
      <dc:date>2023-04-28T07:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is it necessary to use tDBCommit and tDBRollback after tDBOutput?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Is-it-necessary-to-use-tDBCommit-and-tDBRollback-after-tDBOutput/m-p/2210607#M8957</link>
      <description>&lt;P&gt;The difference between using the auto-commit option in tDBConnection and do not use this option, instead of use tDBCommit/tDBRollback is how you cut your transactions.&lt;/P&gt;&lt;P&gt;Everything in a transaction is either completed successfully or no changes are in the database appears at all.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 08:04:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Is-it-necessary-to-use-tDBCommit-and-tDBRollback-after-tDBOutput/m-p/2210607#M8957</guid>
      <dc:creator>jlolling</dc:creator>
      <dc:date>2023-04-28T08:04:27Z</dc:date>
    </item>
  </channel>
</rss>

