好久没更新博客了,今天写代码遇到一个错记录一下,分享一下解决方法
问题
org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL [INSERT INTO law_enforce_user(user_code,name,sex,birthday) VALUES(?,?,?,?)]; SQL state [99999]; error code [17041]; 索引中丢失 IN 或 OUT 参数:: 2; nested exception is java.sql.SQLException: 索引中丢失 IN 或 OUT 参数:: 2o