在mysql中这样的错误你遇到了吗?

11年前
 Cannot convert value '0000-00-00 00:00:00' from column 2 to TIMESTAMP.

处理方法:
hibernate.connection.url=jdbc:mysql://localhost:3306/db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true