首页 > 编程知识 正文

数据库1215错误,数据库在哪里

时间:2023-05-06 10:34:41 阅读:171051 作者:965

Java.lang.runtime exception : org.spring framework.Dao.dataintegrityviolationexception : # # errorupdatingdatabase.cause : com.MySQL.CJ.JDBC.exceptions.MySQL data truncation 3360 data truncation 3360 incorrect dation ' for column ' begin _ time ' atrow1# # # theerrormayinvolvecom.style feng.guns.rest.com mon.persistence.Dao.mooce birthday=? 邮件=?user_phone=?address=? biography=?life_state=?begin_time=?update_time=? WHERE UUID=? # # cause : com.MySQL.CJ.JDBC.exceptions.MySQL data truncation 3360 data truncation 3360 incorrectdatetimevalue 3360 ]; data truncation : incorrectdatetimevalue : ' 1970-01-010033600336000.0 ' for column ' begin _ time ' atrow 1; nestedexceptioniscom.MySQL.CJ.JDBC.exceptions.MySQL data truncation 3360 data truncation 3360 incorrectdatetimevalue 3360 00 . spring framework.Dao.dataintegrityviolationexception : # # errorupdatingdatabase.cause : com.MySQL.CJ.JDBC.exceptions.MySQL data truncation 3360 data truncation 3360 incorrect dation ' for column ' begin _ time ' atrow1# # # theerrormayinvolvecom.style feng.guns.rest.com mon.persistence.Dao.mooce birthday=? 邮件=?user_phone=?address=? biography=?life_state=?begin_time=?update_time=? WHERE UUID=? # # cause : com.MySQL.CJ.JDBC.exceptions.MySQL data truncation 3360 data truncation 3360 incorrectdatetimevalue 3360 ]; data truncation : incorrectdatetimevalue : ' 1970-01-010033600336000.0 ' for column ' begin _ time ' atrow 1; nestedexceptioniscom.MySQL.CJ.JDBC.exceptions.MySQL data truncation 3360 data truncation 3360 incorrectdatetimevalue 3360

caused by : com.MySQL.CJ.JDBC.exceptions.MySQL data truncation 3360 data truncation 3360 incorrectdatetimevalue 3360 ' 1360 ' datetime以YYYY-MM-DD HH:MM:SS格式搜索和显示datetimims的范围为1000-01-01 0033600033600336000到9999-12-31 23:59:59

http://www.Sina.com/:将MySQL时间类型从timestamp更改为datetime即可。

谢谢: https://blog.csdn.net/QQ _ 39240270/article/details/88903447

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。