<?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 Issue with Talend tdb2Output Component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-Talend-tdb2Output-Component/m-p/2377326#M139197</link>
    <description>Hello All,
&lt;BR /&gt;I am using Talend 5.6
&lt;BR /&gt;I have a scenario where I read an input file, transform with tMap then load a work table. Every time the load should truncate then load the table.&amp;nbsp;
&lt;BR /&gt;I am choosing the Action on Table as "Truncate Table/Clear Table"
&lt;BR /&gt;And action on Data as "Insert"
&lt;BR /&gt;When there is row job runs fine. When there is no data in the input file that is 0 record, my job is failing.
&lt;BR /&gt;When I choose Action on Table as "Default" same job is running fine. But issue is I have to delete the work table before I load the data. Could you please suggest what to do?
&lt;BR /&gt;
&lt;BR /&gt;Error Message
&lt;BR /&gt;===========
&lt;BR /&gt; connecting to socket on port 3391
&lt;BR /&gt; connected
&lt;BR /&gt;failed to close the connection in tDB2Output_1 : java.sql.Connection.close() requested while a transaction is in progress on the connection.
&lt;BR /&gt;The transaction remains active, and the connection cannot be closed. ERRORCODE=-4471, SQLSTATE=null
&lt;BR /&gt;Exception in component tDB2Output_1
&lt;BR /&gt;com.ibm.db2.jcc.am.SqlException: java.sql.Connection.close() requested while a transaction is in progress on the connection.
&lt;BR /&gt;The transaction remains active, and the connection cannot be closed. ERRORCODE=-4471, SQLSTATE=null
&lt;BR /&gt;at com.ibm.db2.jcc.am.fd.a(fd.java:663)
&lt;BR /&gt;at com.ibm.db2.jcc.am.fd.a(fd.java:60)
&lt;BR /&gt;at com.ibm.db2.jcc.am.fd.a(fd.java:120)
&lt;BR /&gt;at com.ibm.db2.jcc.am.ib.u(ib.java:1293)
&lt;BR /&gt;at com.ibm.db2.jcc.am.ib.x(ib.java:1315)
&lt;BR /&gt;at com.ibm.db2.jcc.am.ib.v(ib.java:1301)
&lt;BR /&gt;at com.ibm.db2.jcc.am.ib.close(ib.java:1283)
&lt;BR /&gt;at myproj.tblld_test_0_1.tblld_test.tFileInputDelimited_1Process(tblld_test.java:2979)
&lt;BR /&gt;at myproj.tblld_test_0_1.tblld_test.runJobInTOS(tblld_test.java:3461)
&lt;BR /&gt;at myproj.tblld_test_0_1.tblld_test.main(tblld_test.java:3198)
&lt;BR /&gt; disconnected
&lt;BR /&gt;Job tblld_test ended at 14:44 08/07/2015.</description>
    <pubDate>Wed, 08 Jul 2015 16:02:20 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2015-07-08T16:02:20Z</dc:date>
    <item>
      <title>Issue with Talend tdb2Output Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-Talend-tdb2Output-Component/m-p/2377326#M139197</link>
      <description>Hello All,
&lt;BR /&gt;I am using Talend 5.6
&lt;BR /&gt;I have a scenario where I read an input file, transform with tMap then load a work table. Every time the load should truncate then load the table.&amp;nbsp;
&lt;BR /&gt;I am choosing the Action on Table as "Truncate Table/Clear Table"
&lt;BR /&gt;And action on Data as "Insert"
&lt;BR /&gt;When there is row job runs fine. When there is no data in the input file that is 0 record, my job is failing.
&lt;BR /&gt;When I choose Action on Table as "Default" same job is running fine. But issue is I have to delete the work table before I load the data. Could you please suggest what to do?
&lt;BR /&gt;
&lt;BR /&gt;Error Message
&lt;BR /&gt;===========
&lt;BR /&gt; connecting to socket on port 3391
&lt;BR /&gt; connected
&lt;BR /&gt;failed to close the connection in tDB2Output_1 : java.sql.Connection.close() requested while a transaction is in progress on the connection.
&lt;BR /&gt;The transaction remains active, and the connection cannot be closed. ERRORCODE=-4471, SQLSTATE=null
&lt;BR /&gt;Exception in component tDB2Output_1
&lt;BR /&gt;com.ibm.db2.jcc.am.SqlException: java.sql.Connection.close() requested while a transaction is in progress on the connection.
&lt;BR /&gt;The transaction remains active, and the connection cannot be closed. ERRORCODE=-4471, SQLSTATE=null
&lt;BR /&gt;at com.ibm.db2.jcc.am.fd.a(fd.java:663)
&lt;BR /&gt;at com.ibm.db2.jcc.am.fd.a(fd.java:60)
&lt;BR /&gt;at com.ibm.db2.jcc.am.fd.a(fd.java:120)
&lt;BR /&gt;at com.ibm.db2.jcc.am.ib.u(ib.java:1293)
&lt;BR /&gt;at com.ibm.db2.jcc.am.ib.x(ib.java:1315)
&lt;BR /&gt;at com.ibm.db2.jcc.am.ib.v(ib.java:1301)
&lt;BR /&gt;at com.ibm.db2.jcc.am.ib.close(ib.java:1283)
&lt;BR /&gt;at myproj.tblld_test_0_1.tblld_test.tFileInputDelimited_1Process(tblld_test.java:2979)
&lt;BR /&gt;at myproj.tblld_test_0_1.tblld_test.runJobInTOS(tblld_test.java:3461)
&lt;BR /&gt;at myproj.tblld_test_0_1.tblld_test.main(tblld_test.java:3198)
&lt;BR /&gt; disconnected
&lt;BR /&gt;Job tblld_test ended at 14:44 08/07/2015.</description>
      <pubDate>Wed, 08 Jul 2015 16:02:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-Talend-tdb2Output-Component/m-p/2377326#M139197</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-07-08T16:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Talend tdb2Output Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-Talend-tdb2Output-Component/m-p/2377327#M139198</link>
      <description>Bump...Any idea ?</description>
      <pubDate>Wed, 08 Jul 2015 21:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-Talend-tdb2Output-Component/m-p/2377327#M139198</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-08T21:28:12Z</dc:date>
    </item>
  </channel>
</rss>

