Hibernate execution update date error

clipboard.png
the error in executing the above code is as follows:

"PreparedStatementCallback; SQL [UPDATE yposx_store_goods SET update_time=?, store_market_enable=?, goods_id=? WHERE shop_id="5" AND goods_id="139"Data truncation: Incorrect datetime value: "Mon Nov 12 15:39:14 CST 2018" for column "update_time" at row 1; nested exception is com.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect datetime value:" Mon Nov 12 15:39:14 CST 2018 "for column" update_time" at row 1",

there is no problem with performing insertion

Nov.09,2021

is the database field of type dataTime?
this article will see if it can help you https://www.cnblogs.com/tjlgd.

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37af3-2c0be.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37af3-2c0be.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?