This code:
ids = "1245, 4526, 7689, 8001";
jdbcTemplate.update("DELETE FROM my_table WHERE id IN (?)", new Object[] { ids });
throws the following exception:
(...) nested exception is java.sql.SQLSyntaxErrorException: ORA-01722: invalid number
How do I pass the list of IDs to the above sql statement?