java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:201)
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/18 11:29:58
java.sql.SQLException:Parameterindexoutofrange(1>numberofparameters,whichis0).com.ibatis.sqlmap.eng
java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:201)
java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:201)
java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:201)
下标越界,注意用java的时候你的表的列的序列号从1来开始;Resultset p;p.GetString(1)//第一列