亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

Cause: org.apache.ibatis.type.TypeException: Error setting null for parameter #1 with JdbcType INTEGER . Try setting a different JdbcType for this parameter or a different jdbcTypeForNull configuration property. Cause: java.sql.SQLException: Parameter in

Cause: org.apache.ibatis.type.TypeException: Error setting null for parameter #1 with JdbcType INTEGER . Try setting a different JdbcType for this parameter or a different jdbcTypeForNull configuration property. Cause: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).

說是INTEGER這個類型不行嗎?可是老師的為什么可以

正在回答

4 回答

把Message.xml里還沒配置過的SQL語句先注釋掉 再運行試試

0 回復 有任何疑惑可以回復我~

看一下你實體或者數據庫中的類型是否是Int或者Integer的

0 回復 有任何疑惑可以回復我~
#1

656361

傻牛啊
2016-12-13 回復 有任何疑惑可以回復我~
#2

不懂不知 回復 656361

不懂別瞎比比
2016-12-13 回復 有任何疑惑可以回復我~

發下sql語句呢,看錯誤好像是sql中的參數個數不對

0 回復 有任何疑惑可以回復我~

我暫時還不清楚

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

Cause: org.apache.ibatis.type.TypeException: Error setting null for parameter #1 with JdbcType INTEGER . Try setting a different JdbcType for this parameter or a different jdbcTypeForNull configuration property. Cause: java.sql.SQLException: Parameter in

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號