摘要: eclipse在dao层写的模糊查询sql:String sql = "select count(*) from product where pname like '%?%'"; 这样写会导致以下错误 Wrong number of parameters: expected 0, was given 阅读全文