为啥就数据格式转换错误了呀?Data truncation: Incorrect datetime value

pyboy58 发布于 2021/07/28 14:26
阅读 455
收藏 0

为啥就数据格式转换错误了呀?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)

加载中
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部
返回顶部
顶部