<?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 tdblastinsertid does not function well in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tdblastinsertid-does-not-function-well/m-p/2301757#M73827</link>
    <description>&lt;P&gt;hi there ,&lt;/P&gt;&lt;P&gt;my main issue is why i lose 'main' data flow if i pass throught OnComponenetOK and why i don't get last id inserted in a database table unless i pass throught that trigger OnComponenetOK or some trigger that lets the job pass some time period ; why can't i directly get the value of the last id inserted so that at least i can keep my 'main' flow data and add the new id to it and do what i want : &lt;/P&gt;&lt;P&gt;so if i use lastidINSERTED i lose data and i get the id : in this case i must use a trigger connection!&lt;/P&gt;&lt;P&gt;but if i use 'main' &lt;/P&gt;&lt;P&gt;connection&lt;/P&gt;, i keep the data flow ; but i get a delayed last ID (first line i get 0 then for second iteration i get last ID of line 1 not line 2 of 2nd itereation !&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that's the main reason i needed a workaround like subjobs and temporary files for 1 line only !! &lt;/P&gt;&lt;P&gt;is there by the way any replacement for temp file with 1 line ?? (i need a componenet that can keep data along all the iteration globally to use it for all subjobs while making sure i don't write any column types and names !! my object has around 150 attributes ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any solution that is as dynamic as possible to avoid writing code for each column  150 times  ?&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:55:35 GMT</pubDate>
    <dc:creator>aminegac</dc:creator>
    <dc:date>2024-11-15T22:55:35Z</dc:date>
    <item>
      <title>tdblastinsertid does not function well</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tdblastinsertid-does-not-function-well/m-p/2301757#M73827</link>
      <description>&lt;P&gt;hi there ,&lt;/P&gt;&lt;P&gt;my main issue is why i lose 'main' data flow if i pass throught OnComponenetOK and why i don't get last id inserted in a database table unless i pass throught that trigger OnComponenetOK or some trigger that lets the job pass some time period ; why can't i directly get the value of the last id inserted so that at least i can keep my 'main' flow data and add the new id to it and do what i want : &lt;/P&gt;&lt;P&gt;so if i use lastidINSERTED i lose data and i get the id : in this case i must use a trigger connection!&lt;/P&gt;&lt;P&gt;but if i use 'main' &lt;/P&gt;&lt;P&gt;connection&lt;/P&gt;, i keep the data flow ; but i get a delayed last ID (first line i get 0 then for second iteration i get last ID of line 1 not line 2 of 2nd itereation !&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that's the main reason i needed a workaround like subjobs and temporary files for 1 line only !! &lt;/P&gt;&lt;P&gt;is there by the way any replacement for temp file with 1 line ?? (i need a componenet that can keep data along all the iteration globally to use it for all subjobs while making sure i don't write any column types and names !! my object has around 150 attributes ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any solution that is as dynamic as possible to avoid writing code for each column  150 times  ?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tdblastinsertid-does-not-function-well/m-p/2301757#M73827</guid>
      <dc:creator>aminegac</dc:creator>
      <dc:date>2024-11-15T22:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: tdblastinsertid does not function well</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tdblastinsertid-does-not-function-well/m-p/2301758#M73828</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;tDBLastIdInsertID: select the last insert id from the selected connection, make sure this component is used after the change are commit.  &lt;/P&gt;&lt;P&gt;Can you share a screenshot of job to show where you use tDBLastInsertID?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 02:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tdblastinsertid-does-not-function-well/m-p/2301758#M73828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-13T02:54:48Z</dc:date>
    </item>
  </channel>
</rss>

