<?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: Question on MySQL database and commit in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Question-on-MySQL-database-and-commit/m-p/2339705#M107825</link>
    <description>&lt;P&gt;Yes, this is because Talend has decided to do so. It would be possible to have this option also while using a separate connection. The problem they try to prevent is, the connection can be used in various components and you have to look into every component if you have a commit where it should not be the case.&lt;/P&gt;&lt;P&gt;Thats why the insisted in using separate tDBCommit components when using tDBConnection.&lt;/P&gt;&lt;P&gt;It would be the best you try to load everything on one transaction of if needed connect a tJavaRow after the tDBConnection and count here the records and connect the with an Iterate a tJava and from here connect the tDBCommit with an if trigger.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Dec 2022 20:11:18 GMT</pubDate>
    <dc:creator>jlolling</dc:creator>
    <dc:date>2022-12-22T20:11:18Z</dc:date>
    <item>
      <title>Question on MySQL database and commit</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Question-on-MySQL-database-and-commit/m-p/2339704#M107824</link>
      <description>&lt;P&gt;I have a tDBOutput component configured for a connection to a MySQL database:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bECOfAAO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134026i69CA02F4CBE44086/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bECOfAAO.png" alt="0695b00000bECOfAAO.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the component tab of tDBOutput under 'Advanced settings' I have an option called 'Commit every' which by default is set to 10000:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bECOBAA4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153629i7AE119DA80092231/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bECOBAA4.png" alt="0695b00000bECOBAA4.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far no problem. Now I want to use an existing database conection and activated 'Use an existing connection':&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bECP4AAO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149944iC27DF0329D9DCF35/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bECP4AAO.png" alt="0695b00000bECP4AAO.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I now look inside the 'Advanced settings' section the 'Commit every' disappeared:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bECPnAAO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128810i6478CDEB311C370C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bECPnAAO.png" alt="0695b00000bECPnAAO.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to set the No. of lines when a commit should happen.&lt;/P&gt;&lt;P&gt;I looked every properties of the tDBConnection as well but there I also cannot find 'Commit every'.&lt;/P&gt;&lt;P&gt;Then I added a tDBCommit component but also here no property called 'Commit every' :-(.&lt;/P&gt;&lt;P&gt;Where please can I set the 'Commit every' now?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Question-on-MySQL-database-and-commit/m-p/2339704#M107824</guid>
      <dc:creator>mr_burns</dc:creator>
      <dc:date>2024-11-15T22:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Question on MySQL database and commit</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Question-on-MySQL-database-and-commit/m-p/2339705#M107825</link>
      <description>&lt;P&gt;Yes, this is because Talend has decided to do so. It would be possible to have this option also while using a separate connection. The problem they try to prevent is, the connection can be used in various components and you have to look into every component if you have a commit where it should not be the case.&lt;/P&gt;&lt;P&gt;Thats why the insisted in using separate tDBCommit components when using tDBConnection.&lt;/P&gt;&lt;P&gt;It would be the best you try to load everything on one transaction of if needed connect a tJavaRow after the tDBConnection and count here the records and connect the with an Iterate a tJava and from here connect the tDBCommit with an if trigger.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 20:11:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Question-on-MySQL-database-and-commit/m-p/2339705#M107825</guid>
      <dc:creator>jlolling</dc:creator>
      <dc:date>2022-12-22T20:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Question on MySQL database and commit</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Question-on-MySQL-database-and-commit/m-p/2339706#M107826</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;If your are using tMySqlConnection, your are supposed to add tMySqlCommit / tMySql Rollback components to handle yourself your transactions.&lt;/P&gt;&lt;P&gt;Adding a main row after your tMySqlOutput to a tMySqlConnection will commit row by row.&lt;/P&gt;&lt;P&gt;Hope this Mysql related topic helps.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.talend.com/r/en-US/8.0/mysql/closing-a-database-connection-created-by-a-tmysql-connection" alt="https://help.talend.com/r/en-US/8.0/mysql/closing-a-database-connection-created-by-a-tmysql-connection" target="_blank"&gt;https://help.talend.com/r/en-US/8.0/mysql/closing-a-database-connection-created-by-a-tmysql-connection&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 08:25:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Question-on-MySQL-database-and-commit/m-p/2339706#M107826</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-23T08:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Question on MySQL database and commit</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Question-on-MySQL-database-and-commit/m-p/2339707#M107827</link>
      <description>&lt;P&gt;@jkolling, @xdshi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OK thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 11:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Question-on-MySQL-database-and-commit/m-p/2339707#M107827</guid>
      <dc:creator>mr_burns</dc:creator>
      <dc:date>2022-12-23T11:53:13Z</dc:date>
    </item>
  </channel>
</rss>

