![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
u010466329
这个作者很懒,什么都没留下…
展开
-
提示Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp;
代码中查询MySQL的结果集时报错,提示Value ‘0000-00-00 00:00:00’ can not be represented as java.sql.Timestamp;刚开始以为是代码中格式化结果集中的日期报错,找了一遍发现并没有对日期进行格式化,发现是查询的结果集中某数据行的日期值为0000-00-00 00:00:00,因MySQL的时间类型datetime范围是1000-01原创 2017-06-02 17:42:44 · 7560 阅读 · 1 评论 -
The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone. You mu
spring+springMVC+mybatis+mysql启动时,总报错The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTim原创 2017-06-21 17:28:58 · 4890 阅读 · 6 评论