Postgresql array comparision with List input Dropwizard JDBI
问题 My question is similar to this PostgreSQL check if array contains any element from left-hand array but I want to execute (same query which is given in the above question) i.e. "&& operator" query via code. Dropwizard + JDBI framework. @SqlQuery("SELECT ARRAY[1,2,3,4] && <input_array>") public abstract Object query(@BindIn("input_array") List<Integer> list); @BindIn annotation does not work. Getting below error. ! org.postgresql.util.PSQLException: ERROR: operator does not exist: integer[] &&