为啥就数据格式转换错误了呀?Data truncation: Incorrect datetime value
source link: https://www.oschina.net/question/1422726_2323370
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
为啥就数据格式转换错误了呀?Data truncation: Incorrect datetime value
为啥就数据格式转换错误了呀?Data truncation: Incorrect datetime value
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect datetime value: '1' for column 'studentId' at row 1
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4235)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2617)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2778)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2825)
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK