MySQL: Data truncation: Incorrect datetime value: '2006-10-01 02:22:44'

前端 未结 5 2226
遥遥无期
遥遥无期 2021-02-19 09:22

I\'m getting the following exception updating a row using MySQL via JDBC:

com.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect datetime value: \

5条回答
  •  说谎
    说谎 (楼主)
    2021-02-19 09:57

    We upgraded MySQL server but didnt upgrade the mysql connector jar. We encountered this issue. Later I figured out it was due to the old jar. I upgraded it and this issue went away.

提交回复
热议问题