<?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: Trouble inserting row in database in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Trouble-inserting-row-in-database/m-p/2250341#M34621</link>
    <description>&lt;P&gt;Thanks for the answer !&amp;nbsp;&lt;/P&gt;&lt;P&gt;No,&amp;nbsp;I thought there was no need to.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked in several JDBC tutorial and they never mentionned any commit.&lt;/P&gt;&lt;P&gt;I'll see if it's the problem.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jul 2020 07:19:13 GMT</pubDate>
    <dc:creator>Martintin</dc:creator>
    <dc:date>2020-07-07T07:19:13Z</dc:date>
    <item>
      <title>Trouble inserting row in database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-inserting-row-in-database/m-p/2250337#M34617</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I wanna insert rows without the tDBOutput because it is clearer with what i'm doing in parallel in my job.&lt;/P&gt; 
&lt;P&gt;I use a tJavaFlex to do so with the following code :&lt;/P&gt; 
&lt;P&gt;Initial code :&lt;/P&gt; 
&lt;P&gt;java.sql.Connection myConn = (java.sql.Connection)globalMap.get("conn_tDBConnection_2");&lt;BR /&gt;java.sql.Statement stmt = myConn.createStatement();&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Principal code :&lt;/P&gt; 
&lt;P&gt;String query = "INSERT INTO DEVERYWARE.dbo.PEOPULSE_STDC(MATRICULE, MONTANT) VALUES('"+row4.matricule+"','"+row4.heure+"');";&lt;BR /&gt;stmt.executeUpdate(query);&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I think that i'm doing the right thing but nothing appears in my table.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Also, there is something strange, if i manually create a row in my table, the id is automatically given, which is normal.&lt;/P&gt; 
&lt;P&gt;So let's imagine it gets the id "500". If i execute my job, nothing appears in the table.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But if i try to create a new row manually, it'll get the id "600", as if the rows that should have been inserted with my job had been in the table at a moment.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It's probably not too much of a talend problem but more like a java/sql one, though I'd really appreciate some help.&lt;/P&gt; 
&lt;P&gt;Thanks in advance and sorry for the bad english (not my native language)&lt;/P&gt; 
&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-inserting-row-in-database/m-p/2250337#M34617</guid>
      <dc:creator>Martintin</dc:creator>
      <dc:date>2024-11-16T01:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble inserting row in database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-inserting-row-in-database/m-p/2250338#M34618</link>
      <description>&lt;P&gt;Are you committing?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 15:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-inserting-row-in-database/m-p/2250338#M34618</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-06T15:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble inserting row in database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-inserting-row-in-database/m-p/2250339#M34619</link>
      <description>&lt;P&gt;Are you committing?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 15:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-inserting-row-in-database/m-p/2250339#M34619</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-06T15:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble inserting row in database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-inserting-row-in-database/m-p/2250340#M34620</link>
      <description>&lt;P&gt;Thanks for the answer !&amp;nbsp;&lt;/P&gt;&lt;P&gt;No,&amp;nbsp;I thought there was no need to.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked in several JDBC tutorial and they never mentionned any commit.&lt;/P&gt;&lt;P&gt;I'll see if it's the problem.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 07:19:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-inserting-row-in-database/m-p/2250340#M34620</guid>
      <dc:creator>Martintin</dc:creator>
      <dc:date>2020-07-07T07:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble inserting row in database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-inserting-row-in-database/m-p/2250341#M34621</link>
      <description>&lt;P&gt;Thanks for the answer !&amp;nbsp;&lt;/P&gt;&lt;P&gt;No,&amp;nbsp;I thought there was no need to.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked in several JDBC tutorial and they never mentionned any commit.&lt;/P&gt;&lt;P&gt;I'll see if it's the problem.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 07:19:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-inserting-row-in-database/m-p/2250341#M34621</guid>
      <dc:creator>Martintin</dc:creator>
      <dc:date>2020-07-07T07:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble inserting row in database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-inserting-row-in-database/m-p/2250342#M34622</link>
      <description>&lt;P&gt;That's exactly what it was.&lt;/P&gt;
&lt;P&gt;Thank you mate!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 07:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-inserting-row-in-database/m-p/2250342#M34622</guid>
      <dc:creator>Martintin</dc:creator>
      <dc:date>2020-07-07T07:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble inserting row in database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-inserting-row-in-database/m-p/2250343#M34623</link>
      <description>&lt;P&gt;That's exactly what it was.&lt;/P&gt;
&lt;P&gt;Thank you mate!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 07:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-inserting-row-in-database/m-p/2250343#M34623</guid>
      <dc:creator>Martintin</dc:creator>
      <dc:date>2020-07-07T07:25:25Z</dc:date>
    </item>
  </channel>
</rss>

