关于SQLException:Value'0000-00-00 00:00:00'can not be represented as java.sql.Timestamp的问题

由于“0000-00-00 00:00:00”在mysql中是做为一个特殊值存在的但 java.sql.Date 将其视为 不合法的值 格式不正确,这才是报错的缘由java 添加红色部分mysql jdbc:mysql://localhost:3306/myblog?useUnicode=true&characterEncoding=utf-8&useSSL=false&zeroDateTimeB
相关文章
相关标签/搜索