<?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 tDBInput - cursor size 100000 - get the error record id in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tDBInput-cursor-size-100000-get-the-error-record-id/m-p/2279352#M54546</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a job that has tDBInput ---&amp;gt; tJavaFlex----&amp;gt; tDataShuffle ----&amp;gt; tDBOutput&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In tDBInput&amp;nbsp;the records are read with cursor size -&amp;nbsp;100000 followed by&amp;nbsp;shuffle.&lt;/P&gt;&lt;P&gt;I am using tJavaFlex component between reading and shuffling to get the current record id -&amp;nbsp;globalMap.put("currentID", row1.ID); This is used in tDie component to log the id when it failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;Since the fetch is based on cursor and not on individual record, will the value of "currentID" be the last&amp;nbsp;record in the cursor or will it be assigned the current record id that is read from table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you clarify as I am not a DB expert and trying to understand how it would work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Nov 2018 19:22:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-27T19:22:42Z</dc:date>
    <item>
      <title>tDBInput - cursor size 100000 - get the error record id</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tDBInput-cursor-size-100000-get-the-error-record-id/m-p/2279352#M54546</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a job that has tDBInput ---&amp;gt; tJavaFlex----&amp;gt; tDataShuffle ----&amp;gt; tDBOutput&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In tDBInput&amp;nbsp;the records are read with cursor size -&amp;nbsp;100000 followed by&amp;nbsp;shuffle.&lt;/P&gt;&lt;P&gt;I am using tJavaFlex component between reading and shuffling to get the current record id -&amp;nbsp;globalMap.put("currentID", row1.ID); This is used in tDie component to log the id when it failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;Since the fetch is based on cursor and not on individual record, will the value of "currentID" be the last&amp;nbsp;record in the cursor or will it be assigned the current record id that is read from table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you clarify as I am not a DB expert and trying to understand how it would work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 19:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tDBInput-cursor-size-100000-get-the-error-record-id/m-p/2279352#M54546</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-27T19:22:42Z</dc:date>
    </item>
  </channel>
</rss>

