gpt4 book ai didi

mysql - 参数索引超出范围 MySQL PreparedStatement?

转载 作者:太空宇宙 更新时间:2023-11-03 11:57:20 24 4
gpt4 key购买 nike

我尝试做一个选择:

enter image description here

但我收到一个异常: enter image description here

最佳答案

这样试试:

preparedStatement = connection.prepareStatement(sqlCompetition);
preparedStatement.setInt(...);

我认为你在变量中仍然有旧语句

关于mysql - 参数索引超出范围 MySQL PreparedStatement?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31650159/

24 4 0
文章推荐: c# - c#中的数据表到XML,其中一些项目是列表