第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

stuts+spring+ibats框架的應用問題

stuts+spring+ibats框架的應用問題

手掌心 2018-12-06 18:09:00
遇到的問題是我在頁面里添加了一個可以選擇的日期(時間框),但是選擇過日期之后,出現(xiàn)的問題是 ERROR com.txkj.business.inform.dao.BMInformDao - org.springframework.jdbc.UncategorizedSQLException: SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; --- The error occurred in config/ibatis/BMInform.xml. --- The error occurred while applying a result map. --- Check the getBMInform-AutoResultMap. --- Check the result mapping for the 'INFOR_TIME' property. --- Cause: java.sql.SQLException: An SQLException was provoked by the following failure: java.lang.NumberFormatException: For input string: " 02"; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in config/ibatis/BMInform.xml. --- The error occurred while applying a result map. --- Check the getBMInform-AutoResultMap. --- Check the result mapping for the 'INFOR_TIME' property. --- Cause: java.sql.SQLException: An SQLException was provoked by the following failure: java.lang.NumberFormatException: For input string: " 02"2013-06-07 17:48:08,763 [http-8080-1] ERROR com.txkj.business.inform.action.BMInformAction - getBMInform error:java.lang.Exception: org.springframework.jdbc.UncategorizedSQLException: SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; --- The error occurred in config/ibatis/BMInform.xml. --- The error occurred while applying a result map. --- Check the getBMInform-AutoResultMap. --- Check the result mapping for the 'INFOR_TIME' property. --- Cause: java.sql.SQLException: An SQLException was provoked by the following failure: java.lang.NumberFormatException: For input string: " 02"; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in config/ibatis/BMInform.xml. --- The error occurred while applying a result map. --- Check the getBMInform-AutoResultMap. --- Check the result mapping for the 'INFOR_TIME' property. --- Cause: java.sql.SQLException: An SQLException was provoked by the following failure: java.lang.NumberFormatException: For input string: " 02" 有人說是這個'INFOR_TIME'的類型有問題,我在實體類里定義的類型為date,它默認讀取出來的是一串字符串,即:Fri Jun 07 17:52:00 CST 2013 什么原因呢?
查看完整描述

1 回答

?
慕村225694

TA貢獻1880條經(jīng)驗 獲得超4個贊

類里定義的類型為date ?那你都說了讀取出來是字符串?。?/span>需要轉換的!

查看完整回答
反對 回復 2018-12-16
  • 1 回答
  • 0 關注
  • 675 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號