<?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: insert JSONB in Postgresql in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/insert-JSONB-in-Postgresql/m-p/2511439#M147360</link>
    <description>&lt;P&gt;If it works don't forget to accept it as a solution&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a good day&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Quentin&lt;/P&gt;</description>
    <pubDate>Tue, 25 Mar 2025 10:04:05 GMT</pubDate>
    <dc:creator>quentin-vigne</dc:creator>
    <dc:date>2025-03-25T10:04:05Z</dc:date>
    <item>
      <title>insert JSONB in Postgresql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/insert-JSONB-in-Postgresql/m-p/2506765#M141783</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;
&lt;P&gt;On talend 8 ETL License with Java11, how to insert JSON in POSTGRESQL 16 in a JSONB column ?&amp;nbsp;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 09:51:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/insert-JSONB-in-Postgresql/m-p/2506765#M141783</guid>
      <dc:creator>julienChe</dc:creator>
      <dc:date>2025-02-20T09:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: insert JSONB in Postgresql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/insert-JSONB-in-Postgresql/m-p/2508375#M141825</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/268609"&gt;@julienChe&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to start setting up the desired column in Talend to "string"&lt;/P&gt;
&lt;P&gt;Then in your &lt;STRONG&gt;tDBOutput&lt;/STRONG&gt; go to Advanced Settings&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d'écran 2025-03-05 094736.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178152i43289AD4C856C11B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture d'écran 2025-03-05 094736.png" alt="Capture d'écran 2025-03-05 094736.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And in &lt;STRONG&gt;Additional Column&lt;/STRONG&gt; add a new value with the same name as your output column :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="quentinvigne_1-1741164720441.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178154i2CA1A9BC4C4DE195/image-size/medium?v=v2&amp;amp;px=400" role="button" title="quentinvigne_1-1741164720441.png" alt="quentinvigne_1-1741164720441.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in &lt;STRONG&gt;SQL Expression&lt;/STRONG&gt; add :&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;"?::json"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This help convert your string to json. We use "?" because it's a pattern matching character.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In &lt;STRONG&gt;Position&lt;/STRONG&gt; select Replace and in &lt;STRONG&gt;Reference column&lt;/STRONG&gt; select the output column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If we say that your json string is "abcdef" then Talend will output your data it will look like this :&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;INSERT INTO table VALUES ("abcdef"::json)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Quentin&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 08:57:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/insert-JSONB-in-Postgresql/m-p/2508375#M141825</guid>
      <dc:creator>quentin-vigne</dc:creator>
      <dc:date>2025-03-05T08:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: insert JSONB in Postgresql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/insert-JSONB-in-Postgresql/m-p/2511424#M147359</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/266796"&gt;@quentin-vigne&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;thank you very much for your reply, I'll test it as soon as possible and get back to you.&lt;BR /&gt;have a nice day!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 09:34:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/insert-JSONB-in-Postgresql/m-p/2511424#M147359</guid>
      <dc:creator>julienChe</dc:creator>
      <dc:date>2025-03-25T09:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: insert JSONB in Postgresql</title>
      <link>https://community.qlik.com/t5/Talend-Studio/insert-JSONB-in-Postgresql/m-p/2511439#M147360</link>
      <description>&lt;P&gt;If it works don't forget to accept it as a solution&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a good day&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Quentin&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 10:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/insert-JSONB-in-Postgresql/m-p/2511439#M147360</guid>
      <dc:creator>quentin-vigne</dc:creator>
      <dc:date>2025-03-25T10:04:05Z</dc:date>
    </item>
  </channel>
</rss>

