<?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 Insert data to PostgreSQL tables with int array fields in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Insert-data-to-PostgreSQL-tables-with-int-array-fields/m-p/2330649#M99709</link>
    <description>Hello, 
&lt;BR /&gt;I try to experiment with Talend and for my purposes it is necessary to insert array (integer[]) data to PostgreSQL tables . Is it possible? 
&lt;BR /&gt;I use tPostgresqlOutput component. 
&lt;BR /&gt;I don't see corresponding type in list of DB types for integer[]. 
&lt;BR /&gt;Source (Input) field type is List. 
&lt;BR /&gt;Error I've got: 
&lt;BR /&gt;org.postgresql.util.PSQLException:Can't infer the SQL type to use for an instance of java.util.ArrayList. Use setObject() with an explicit Types value to specify the type to use. 
&lt;BR /&gt;I tried to convert it to string and insert like string with same syntax ('{1,2,3}')', but there was error too. 
&lt;BR /&gt;Thanks for help.</description>
    <pubDate>Sat, 16 Nov 2024 12:04:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T12:04:39Z</dc:date>
    <item>
      <title>Insert data to PostgreSQL tables with int array fields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-data-to-PostgreSQL-tables-with-int-array-fields/m-p/2330649#M99709</link>
      <description>Hello, 
&lt;BR /&gt;I try to experiment with Talend and for my purposes it is necessary to insert array (integer[]) data to PostgreSQL tables . Is it possible? 
&lt;BR /&gt;I use tPostgresqlOutput component. 
&lt;BR /&gt;I don't see corresponding type in list of DB types for integer[]. 
&lt;BR /&gt;Source (Input) field type is List. 
&lt;BR /&gt;Error I've got: 
&lt;BR /&gt;org.postgresql.util.PSQLException:Can't infer the SQL type to use for an instance of java.util.ArrayList. Use setObject() with an explicit Types value to specify the type to use. 
&lt;BR /&gt;I tried to convert it to string and insert like string with same syntax ('{1,2,3}')', but there was error too. 
&lt;BR /&gt;Thanks for help.</description>
      <pubDate>Sat, 16 Nov 2024 12:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-data-to-PostgreSQL-tables-with-int-array-fields/m-p/2330649#M99709</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Insert data to PostgreSQL tables with int array fields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-data-to-PostgreSQL-tables-with-int-array-fields/m-p/2330650#M99710</link>
      <description>Hi, 
&lt;BR /&gt;Please see this related forum: 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCpAyCAK" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/resolved-creating-and-using-Arraylists-in-Talend/td-p/100161&lt;/A&gt;, hope you will get a light from it. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 20 Mar 2013 04:00:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-data-to-PostgreSQL-tables-with-int-array-fields/m-p/2330650#M99710</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-20T04:00:28Z</dc:date>
    </item>
  </channel>
</rss>

