在使用mysql时,数据库中字段类型为timestamp的默认为空的时候会发生这种错误
解决方法:(1)修改默认值
(2)给jdbc url加参数,zeroDateTimeBehavior=convertToNull
在使用mysql时,数据库中字段类型为timestamp的默认为空的时候会发生这种错误
解决方法:(1)修改默认值
(2)给jdbc url加参数,zeroDateTimeBehavior=convertToNull