Belief-WangWei opened a new issue #2745:  Error updating database.  Cause: 
com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Incorrect 
datetime value: 'now()' for column 'UPDATE_TIME' at row 1
URL: https://github.com/apache/incubator-shardingsphere/issues/2745
 
 
   ### Error updating database.  Cause: 
com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Incorrect 
datetime value: 'now()' for column 'UPDATE_TIME' at row 1
   ### The error may involve defaultParameterMap
   ### The error occurred while setting parameters
   ### SQL: insert into ts_anshitianxia_node_data(ID, PARENT_ID,NODE_ID,TAGS, 
IMAGE, NAME, ALIAS, 
UNIT,NUM,TS_NODE_PATH,COMPANY_ID,TABLE_NAME,GOODS_ID,UPDATE_TIME,CREATE_USER,UPDATE_USER,IS_DEL,HASHCODE,PRODUCT_COMP_CODE,SLA_COMP_CODE,COMPANY_CODE)
 values                        (?,?,?,?,?,?,?,?,?,?,?,?,?,now(),?,?,0,?,?,?,?)
   ### Cause: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data 
truncation: Incorrect datetime value: 'now()' for column 'UPDATE_TIME' at row 1
   ; Data truncation: Incorrect datetime value: 'now()' for column 
'UPDATE_TIME' at row 1; nested exception is 
com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Incorrect 
datetime value: 'now()' for column 'UPDATE_TIME' at row 1
   
   Is the now() expression not supported in insert statements?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to