天天看點

Cause: java.sql.SQLException: Value '0000-00-00 00:00:00' can not be represented as java.sql.Timesta java.sql.SQLException:Value '0000-00-00' can not be represented as java.sql.Date

錯誤資訊:

 java.sql.SQLException:Value '0000-00-00' can not be represented as java.sql.Date

解決辦法:

   資料庫date類型的字段插入了'0000-00-00'的值,将其改為正常date值。