I am using postgres DB. I want to pass the list of ids in IN clause. The type of column is int8. I have list of Long in the code.
This is the code
I am getting below exception : Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: bigint = bigint[] Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts.
I tried using converting to String array and using varchar. But none of that works. Any reference would be helpful.