I have a very simple SQL "update table where ID in (1,2,3)"
When I am doing
String sql = "update table where ID in (?)";
List<Integer> ids = new ArrayList();
ids.add(1);
ids.add(2);
ids.add(3);
jdbc.update(sql, new Object[] { ids });
I recieve wrong sql in output
update table where ID in ('1,2,3')
How can I rid of this extra quote?