SSH框架学习can not be represented as java.sql.Timestamp 0000-00-00 00:00:00

1505人围观 0个不明物体

can not be represented as java.sql.Timestamp 0000-00-00 00:00:00 出现这个错误,是因为Hibernate他认为这个时间0000-00-00 00:00:00 并不是一个有效的时间 通常是因为你的数据库中有时间格式是这样的 0000-00-00 00:00:00