JdbcTemplate to use in query<<Help Required>>
I am having a problem in using the query using JDBC Template
public void deleteProduct(int productIds)
Object arr=new Object;
String query="delete from product where id in(?)";
this method is in a DAO which gets the DataSource.
if i execute the same query individually for all ids in the List its executes well
Not geeting what the proble is
Thanks in advance
Conceptually the jdbc should work.
It was great but what my expectation is the spring should take care of this buring the paremeter binding time as some of the framework does.
Spring does this for Objects and array is also an Object then why not for array.