最佳答案
这样试试:
preparedStatement = connection.prepareStatement(sqlCompetition);
preparedStatement.setInt(...);
我认为你在变量中仍然有旧语句
关于mysql - 参数索引超出范围 MySQL PreparedStatement?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31650159/
最佳答案
这样试试:
preparedStatement = connection.prepareStatement(sqlCompetition);
preparedStatement.setInt(...);
我认为你在变量中仍然有旧语句
关于mysql - 参数索引超出范围 MySQL PreparedStatement?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31650159/