<?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: [resolved] JDBC autocommit false in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-JDBC-autocommit-false/m-p/2241296#M28500</link>
    <description>Turned out this doesn't have anything to do with Talend but with AS400 default transaction isolation level which is set to "read uncommitted"&amp;nbsp;:mad:</description>
    <pubDate>Wed, 04 Nov 2015 19:45:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-11-04T19:45:28Z</dc:date>
    <item>
      <title>[resolved] JDBC autocommit false</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-JDBC-autocommit-false/m-p/2241295#M28499</link>
      <description>Hello All,
&lt;BR /&gt;I am working with jdbc connection pool and I need to set autocommit to false on jdbc connections and then commit manually. I have connection pool setup in Talend runtime environment and all JDBC components that I used were configured to use data source alias.
&lt;BR /&gt;My original setup was tJavaflex -&amp;gt;onSubjOK tJDBCRow -&amp;gt; (onSubjOk tJDBCCommit). This setup did not work when I disabled tJDBCCommit despite the fact that I set defaultAutoCommit to false in connection pool config file. When tJDBCCommit was disabled data was still committed to database.
&lt;BR /&gt;Then I added tJDBCConnection since it has that nice checkbox "Use Auto-Commit" which I unchecked and then I set tJDBCRow to use existing connection from tJDBCConnection. So my setup became as follows:
&lt;BR /&gt;&amp;nbsp;tJavaFlex -&amp;gt; onSubjOK -&amp;gt;tJDBCConnection -&amp;gt;onSubjOK -&amp;gt;tJDBCRow -&amp;gt;(onSubjOk tJDBCCommit).&amp;nbsp;
&lt;BR /&gt;This also did not work. &amp;nbsp;Checking the code I was surprised to see that the code generated for tJDBCConnection did not even try to get connection from connection pool datasource. &amp;nbsp;Looking further I found out that autocommit flag is being set on connection retrieved from connection pool by tJDBCRow but despite that, the job still autocommits.&amp;nbsp;
&lt;BR /&gt;I would appreciate any suggestions on how to resolve this issue. I am using Talend Open Studio 6.0 for ESB.
&lt;BR /&gt;Thank you!
&lt;BR /&gt;Svetlana
&lt;BR /&gt;&amp;nbsp;</description>
      <pubDate>Sat, 16 Nov 2024 10:57:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-JDBC-autocommit-false/m-p/2241295#M28499</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] JDBC autocommit false</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-JDBC-autocommit-false/m-p/2241296#M28500</link>
      <description>Turned out this doesn't have anything to do with Talend but with AS400 default transaction isolation level which is set to "read uncommitted"&amp;nbsp;:mad:</description>
      <pubDate>Wed, 04 Nov 2015 19:45:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-JDBC-autocommit-false/m-p/2241296#M28500</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-04T19:45:28Z</dc:date>
    </item>
  </channel>
</rss>

