I have a prepared statement on an in query - something like this
select * from customers where id in ?
I want to pass a string like "1,2,3" to the setXXX function. The problem being that PreparedStatement will qoute the string and make the query become
select * from customers where id in "1,2,3"
select * from customers where id in 1,2,3
I would like to know is there a way to stop PreparedStatement from quoting the parameter.