当前位置:Gxlcms > 数据库问题 > 报错 java.sql.SQLException: Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp 原因

报错 java.sql.SQLException: Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp 原因

时间:2021-07-01 10:21:17 帮助过:6人阅读

sql异常 java.sql.SQLException: Value ‘0000-00-00 00:00:00‘ can not be represented as java.sql.Timestamp

是因为java不能将 0000-00-00 00:00:00 转成正常时间格式

技术图片

 

报错 java.sql.SQLException: Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp 原因

标签:img   lazy   code   time   异常   image   can   com   res   

人气教程排行