<?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: Single UUID for every job run in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Single-UUID-for-every-job-run/m-p/2361914#M126161</link>
    <description>Talend itself provides such a UUID called talendPid. This is a member variable in every job. The problem here is, it is not entirely unique over a long time. I suggest you add a timestamp on it and this makes it absolut unique.&amp;nbsp;</description>
    <pubDate>Thu, 19 May 2016 10:36:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-19T10:36:21Z</dc:date>
    <item>
      <title>Single UUID for every job run</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Single-UUID-for-every-job-run/m-p/2361913#M126160</link>
      <description>&lt;P&gt;The following post describes on how to get a different UUID for each row inserted to Database table.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I run a rob, number of rows that gets inserted to DB differs. On every run, I want to insert the same UUID for every row that is inserted on that particular job run. (One UUID for every job run). How to achieve this?&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 00:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Single-UUID-for-every-job-run/m-p/2361913#M126160</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-19T00:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Single UUID for every job run</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Single-UUID-for-every-job-run/m-p/2361914#M126161</link>
      <description>Talend itself provides such a UUID called talendPid. This is a member variable in every job. The problem here is, it is not entirely unique over a long time. I suggest you add a timestamp on it and this makes it absolut unique.&amp;nbsp;</description>
      <pubDate>Thu, 19 May 2016 10:36:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Single-UUID-for-every-job-run/m-p/2361914#M126161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-19T10:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Single UUID for every job run</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Single-UUID-for-every-job-run/m-p/2361915#M126162</link>
      <description>WAIT ! talendPid is not even close to an UUID ( see UUID Specifications)&lt;BR /&gt;&lt;BR /&gt;you can use java.util.UUID &lt;A href="https://docs.oracle.com/javase/7/docs/api/java/util/UUID.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.oracle.com/javase/7/docs/api/java/util/UUID.html&lt;/A&gt;&lt;BR /&gt;in the beginning of your Job&amp;nbsp; put it into th globalMap and use it as needed&lt;BR /&gt;&lt;BR /&gt;cheers</description>
      <pubDate>Thu, 19 May 2016 10:42:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Single-UUID-for-every-job-run/m-p/2361915#M126162</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-19T10:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Single UUID for every job run</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Single-UUID-for-every-job-run/m-p/2361916#M126163</link>
      <description>Yep, this is also a good way. There are plenty of classes providing a secure unique UUID.&lt;BR /&gt;Me and my colleagues have designed a concept and dedicated components to create such UUID based on a database sequence and also with a lot of stuff to steer the jobs and measure the metrics.&lt;BR /&gt;&lt;A href="https://exchange.talend.com/#marketplaceproductoverview:gallery=marketplace%252F1&amp;amp;pi=marketplace%252F1%252Fproducts%252F556%252Fitems%252F2433" target="_blank" rel="nofollow noopener noreferrer"&gt;https://exchange.talend.com/#marketplaceproductoverview:gallery=marketplace%252F1&amp;amp;pi=marketplace%252F1%252Fproducts%252F556%252Fitems%252F2433&lt;/A&gt;&lt;BR /&gt;Take a look at the documentation before check it out.</description>
      <pubDate>Thu, 19 May 2016 10:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Single-UUID-for-every-job-run/m-p/2361916#M126163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-19T10:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Single UUID for every job run</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Single-UUID-for-every-job-run/m-p/2361917#M126164</link>
      <description>&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Before you insert, place a UUID on the globalMap and then insert it.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;You can create this in tJava and then map it in tMap, for example: -&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;tJava(onSubjobOK)-&amp;gt;tFileInputDelimited(row1)-&amp;gt;tMap(row2)-&amp;gt;tMySQLOutput&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;In tJava, add something like: -&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;globalMap.put("UUID", java.util.UUID.randomUUID().toString());&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Thu, 19 May 2016 11:06:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Single-UUID-for-every-job-run/m-p/2361917#M126164</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-19T11:06:23Z</dc:date>
    </item>
  </channel>
</rss>

