How can we insert values of a field of data type text[] (array) of a PostgreSQL table #372
Replies: 1 comment 2 replies
-
Hi @milandalsaniya! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello All,
I am have field/column in a table of PostgreSQL DB of type text[]
I have tried both executeUpdate and executeBatch using addParameter on Query instance.
From exception throw and looking at lib code it's understandable that executeBatch does not support array.
executeUpdate does support array but what I understood by looking at code is that it only work for select query with where has "IN" operator.
If I want to insert array val into table, how can we do that in sqlo2? Is there any work around for that?
Beta Was this translation helpful? Give feedback.
All reactions