Failed to deploy application 'xxxx.wlapp'. : Data truncation: Incorrect datetime value: '' for column 'LAST_UPDATE_TIME' at row 1 {prepstmnt 24265963 INSERT INTO GADGETS (DISP_IN_GALLERY, LAST_UPDATE_TIME, NAME) VALUES (?, ?, ?) [params=(int) 1, (Timestamp) 2013-05-25 17:21:49.806, (String) xxxxxxxx]} [code=0, state=22001]
is coming for all .wlapp
uploads in Worklight console. This is a Worklight war on Tomcat 7 and MySQL 5.6.
It seems from the error that the INSERT
statement is trying to insert a value of datatype TIMESTAMP
into a column that is of type datetime
[LAST_UPDATE_TIME
in gadgets table].