maven项目,junit test时出错,应该不是zeroDateTimeBehavior问题

图片说明

数据库数据错了吧,是不是有0000-00-00

jdbc:mysql://*****:3306/******?zeroDateTimeBehavior=convertToNull

设置zeroDateTimeBehavior 属性,当遇到DATETIME值完全由0组成时,最终的有效值可以设置为,异常(exception),一个近似值(round),或将这个值转换为null(convertToNull)。

设置zeroDateTimeBehavior 属性,当遇到DATETIME值完全由0组成时,最终的有效值可以设置为,异常(exception),一个近似值(round),或将这个值转换为null(convertToNull)。