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

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 转成正常时间格式

 

posted @ 2020-07-08 14:32  岑惜  阅读(448)  评论(0编辑  收藏  举报