java.sql.SQLException之数组越界

java.sql.SQLException之数组越界


1、具体错误如下:

(1)java.sql.SQLException:Parameter index out of range(0<1)


(2)java.sql.SQLException:Parameter index out of range(23>number of parameters,which is 22)


2、错误原因

     在SQL语句传参的个数和接受的参数个数不一致,导致出错

你可能感兴趣的:(java,sql,mysql,SQLException)