java.sql.SQLException: Wrong number of parameters: expected 10, was given 1 Query
呵呵,写数据库碰到这种问题,快要懵逼了出现异常的原因是:您sql语句需要的参数和您给的参数不同,我给大家看一下源码哈//整个sqlStringsql="insertintouser";sql+="(username,PASSWORD,gender,email,telephone,introduce,activeCode,state,role,registTime)";sql+="values(?,