|
在linux下online开发,数据可正常生成,编辑数据时日期显示为linux格式,无法正常保存,请问如何解决?
日期格式:
Jan 12, 2016 12:00:00 AM
保存时错误消息:
PreparedStatementCallback; SQL [update zmd_purchase_price set remark=? , valid_from=? , create_by=? , create_name=? , sys_company_code=? , material=? , currency=? , update_by=? , vendor_code=? , price=? , sys_org_code=? , tax=? , create_date=? , description=? , update_name=? , vendor_desc=? , update_date=? where id='8a7b9aea51d488180151d48818380000']; Data truncation: Incorrect datetime value: 'Jan 12, 2016 12:00:00 AM' for column 'valid_from' at row 1; nested exception is com.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect datetime value: 'Jan 12, 2016 12:00:00 AM' for column 'valid_from' at row 1
|
-
-
无法保存
|