Hi there,
I have a query statement -- sql = select * from t_user where name in ?.
Assuming I want to select row with the name in John, Tom, Cathy.
How can I pass the params to jdbcTemplate?
jdbcTemplate.query(sql, params, new UserRowMapper());
Thanks. |