Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Insert data to PostgreSQL tables with int array fields

Hello,
I try to experiment with Talend and for my purposes it is necessary to insert array (integer[]) data to PostgreSQL tables . Is it possible?
I use tPostgresqlOutput component.
I don't see corresponding type in list of DB types for integer[].
Source (Input) field type is List.
Error I've got:
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.
I tried to convert it to string and insert like string with same syntax ('{1,2,3}')', but there was error too.
Thanks for help.
Labels (3)
1 Reply
Anonymous
Not applicable
Author

Hi,
Please see this related forum: https://community.talend.com/t5/Design-and-Development/resolved-creating-and-using-Arraylists-in-Tal..., hope you will get a light from it.
Best regards
Sabrina