#represented

Caused by: java.sql.SQLException: Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp

错误信息如下:Causedby:java.sql.SQLException:Value'0000-00-0000:00:00'cannotberepresentedasjava.sql.Timestamp原因如下:是因为数据表中字段类型与对象中的属性类型不一致。比如在我的数据表中是datetime类型,正常来说,对象中...