我使用的是jdbcTemplate,因为忘记向list中加入参数,所以报错。
解决方案,: String sql = "select * from table where id = ?";
                      List list = new ArrayList();                     
                      list.add(param);

相关文章:

  • 2022-12-23
  • 2021-05-28
  • 2022-12-23
  • 2022-12-23
  • 2021-12-13
  • 2022-12-23
猜你喜欢
  • 2021-08-13
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
  • 2021-09-23
相关资源
相似解决方案