异常:Caused by: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
在xml里面在写sql的时候参数被单引号包围导致的。
也会有其他原因导致这个问题。
这位网友有更详细的记录:
https://blog.csdn.net/qq_40241957/article/details/99691330
java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0
最新推荐文章于 2023-11-23 23:18:48 发布