java.sql.SQLException: Parameter index out of range (3 > number of parameters, which is 2). 解决

在你参数没有多传的情况下,可以参考本文。

解决:两种不一样的注释,改为xml注释 。   一时大意找这个问题找半小时 。。。

猜你喜欢

转载自blog.csdn.net/qq_33767353/article/details/107816520
今日推荐