<?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: Database values are not imported but are visible in logrow in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357200#M122562</link>
    <description>&lt;P&gt;Database connection failed, but works when testing it from the metadata directly...&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jul 2021 14:34:16 GMT</pubDate>
    <dc:creator>amba1</dc:creator>
    <dc:date>2021-07-26T14:34:16Z</dc:date>
    <item>
      <title>Database values are not imported but are visible in logrow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357191#M122553</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have a strange issue here. &lt;/P&gt;&lt;P&gt;Basically I retrieve data from some files and import them in a database.&lt;/P&gt;&lt;P&gt;In my database I have a a table with a column called licenseplatekey. If no match is found, the value is set to -1.&lt;/P&gt;&lt;P&gt;When testing my job with a tlogrow, everything works perfectly, as you can see in the screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000H8rKNAAZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144784i62598432D2D6B2C2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000H8rKNAAZ.png" alt="0695b00000H8rKNAAZ.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I import the data in my database, none of the data for the licenseplatekey column is imported. Each row just contains a NULL&lt;/P&gt;&lt;P&gt;All other columns are imported normally...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000H8rKwAAJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157077iBD916CEB7BA8E938/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000H8rKwAAJ.png" alt="0695b00000H8rKwAAJ.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried outputting the data in a csv files and it works as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know what I might be doing wrong here?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:55:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357191#M122553</guid>
      <dc:creator>amba1</dc:creator>
      <dc:date>2024-11-15T23:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Database values are not imported but are visible in logrow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357192#M122554</link>
      <description>&lt;P&gt;Hi @Not defined Not defined​&amp;nbsp;, could you share picture of your job ,component used and schema of them ?&lt;/P&gt;&lt;P&gt;also when you try to import them have you specific message in the console ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you say you try to import, does carpark_id already exist.(do you update or insert or both ?)&lt;/P&gt;&lt;P&gt;Maybe you have to check autocommit in you dbconnection component advanced settings.&lt;/P&gt;&lt;P&gt;Send me love and kudos&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 13:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357192#M122554</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-07-26T13:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Database values are not imported but are visible in logrow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357193#M122555</link>
      <description>&lt;P&gt;hi @guenneguez jeremy​,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a screenshot of the whole job to give you an idea of what I'm doing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000H8rYyAAJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131226iB9AA51745BB30712/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000H8rYyAAJ.png" alt="0695b00000H8rYyAAJ.png" /&gt;&lt;/span&gt;And here's a picture of the last tMap (tmap-5)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000H8rWPAAZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158183i71963C931D9BF587/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000H8rWPAAZ.png" alt="0695b00000H8rWPAAZ.png" /&gt;&lt;/span&gt;licenseplatekey if else: Relational.ISNULL(licenseplate.licenseplatekey)?&lt;/P&gt;&lt;P&gt;(Relational.ISNULL(row7.key)?-1:row7.key):licenseplate.licenseplatekey&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Schema of target table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000H8raGAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132107i43E2A08CC3AE5EB0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000H8raGAAR.png" alt="0695b00000H8raGAAR.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 13:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357193#M122555</guid>
      <dc:creator>amba1</dc:creator>
      <dc:date>2021-07-26T13:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Database values are not imported but are visible in logrow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357194#M122556</link>
      <description>&lt;P&gt;why you don't use tpostjob and tdbclose to close all your db connection ?&lt;/P&gt;&lt;P&gt;do you select auto commit on advanced settings of you tDBConnection component ?&lt;/P&gt;&lt;P&gt;the issue don't seem to be on the data but more on the database &lt;/P&gt;&lt;P&gt;also i see you have different db type for carpark id et licenceplate :&lt;/P&gt;&lt;P&gt;INT8 and INT4,maybe check your database tp see if you have the good db type&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 14:09:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357194#M122556</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-07-26T14:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Database values are not imported but are visible in logrow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357195#M122557</link>
      <description>&lt;P&gt;I do use it, had no place left for the screenshot sorry:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000H8rcSAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132766i85E2A1B8DD69DC6E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000H8rcSAAR.png" alt="0695b00000H8rcSAAR.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000H8rjIAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139322iAAB98160EB396BB3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000H8rjIAAR.png" alt="0695b00000H8rjIAAR.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 14:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357195#M122557</guid>
      <dc:creator>amba1</dc:creator>
      <dc:date>2021-07-26T14:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Database values are not imported but are visible in logrow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357196#M122558</link>
      <description>&lt;P&gt;if for example you use a tdbinput and a query on your table , a select * for example, and you do guess schema have you the same DB type in the schema as your db output ?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 14:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357196#M122558</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-07-26T14:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Database values are not imported but are visible in logrow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357197#M122559</link>
      <description>&lt;P&gt;The Schema seems to be the same as in the database:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000H8rmgAAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144722iED6118ECDE6A7E7F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000H8rmgAAB.png" alt="0695b00000H8rmgAAB.png" /&gt;&lt;/span&gt;When trying to get the schema with a tdbinput, i get the following error, database connection failed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000H8roIAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142753i004762C6E8682EB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000H8roIAAR.png" alt="0695b00000H8roIAAR.png" /&gt;&lt;/span&gt;jdbc:postgresql://localhost:5432/USERNAME?"" does not work as string of connection, am i missing something?=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 14:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357197#M122559</guid>
      <dc:creator>amba1</dc:creator>
      <dc:date>2021-07-26T14:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Database values are not imported but are visible in logrow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357198#M122560</link>
      <description>&lt;P&gt;in your tDBOutput advanced settings you can select debug query mode and you can acces to the query with this variable :&lt;/P&gt;&lt;P&gt;((String)globalMap.get("tDBOutput_1_QUERY"))&lt;/P&gt;&lt;P&gt;it can be a good way to investigate&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 14:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357198#M122560</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-07-26T14:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Database values are not imported but are visible in logrow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357199#M122561</link>
      <description>&lt;P&gt;put an empty string "" on jdbc parameters&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 14:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357199#M122561</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-07-26T14:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Database values are not imported but are visible in logrow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357200#M122562</link>
      <description>&lt;P&gt;Database connection failed, but works when testing it from the metadata directly...&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 14:34:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357200#M122562</guid>
      <dc:creator>amba1</dc:creator>
      <dc:date>2021-07-26T14:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Database values are not imported but are visible in logrow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357201#M122563</link>
      <description>&lt;P&gt;just try to force the jdbc parameter with empty string "", in your tdbconnection component : additionnal jdbc parameters : ""&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 14:45:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357201#M122563</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-07-26T14:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Database values are not imported but are visible in logrow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357202#M122564</link>
      <description>&lt;P&gt;Tried the empty strings as well, unfortunately no success. The error message under Details is "Schema not present in Database". &lt;/P&gt;&lt;P&gt;The schema is indeed present... &lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 14:49:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357202#M122564</guid>
      <dc:creator>amba1</dc:creator>
      <dc:date>2021-07-26T14:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Database values are not imported but are visible in logrow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357203#M122565</link>
      <description>&lt;P&gt;Managed to make it work.&lt;/P&gt;&lt;P&gt;The schema is exactly the same as the one I use as output&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 15:14:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357203#M122565</guid>
      <dc:creator>amba1</dc:creator>
      <dc:date>2021-07-26T15:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Database values are not imported but are visible in logrow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357204#M122566</link>
      <description>&lt;P&gt;do you try my suggest for debugging query ?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 15:35:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357204#M122566</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-07-26T15:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Database values are not imported but are visible in logrow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357205#M122567</link>
      <description>&lt;P&gt;@guenneguez jeremy​&amp;nbsp;I was able to find the issue!&lt;/P&gt;&lt;P&gt;The licenseplatekey is a column that i added with an alter table after the table was created. I use a function to partition the tables and forgot to update the function with the new column. It is now working! Thanks for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 15:38:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Database-values-are-not-imported-but-are-visible-in-logrow/m-p/2357205#M122567</guid>
      <dc:creator>amba1</dc:creator>
      <dc:date>2021-07-26T15:38:19Z</dc:date>
    </item>
  </channel>
</rss>

