Cannot convert '0000-00-00 00:00:00' to TIMESTAMP

在url上添加参数
zeroDateTimeBehavior=convertToNull
jdbc:mysql://localhost/myDatabase?zeroDateTimeBehavior=convertToNull
posted @ 2016-03-09 18:18  邱明成  阅读(460)  评论(0编辑  收藏  举报