Caused by: java.sql.SQLException: Data truncated for column 'feed_time' at row 1
org.springframework.dao.DataIntegrityViolationException:
### Error updating database. Cause: java.sql.SQLException: Data truncated for column 'feed_time' at row 1
### The error may involve com.wellhome.emecloudnews.mobileclould.dao.FeedbackMapper.insert-Inline
### The error occurred while setting parameters
### SQL: insert into feedback (id, feed_content, feed_activate, feed_time, feed_subno) values (?, ?, ?, ?, ?)
### Cause: java.sql.SQLException: Data truncated for column 'feed_time' at row 1
; SQL []; Data truncated for column 'feed_time' at row 1; nested exception is java.sql.SQLException: Data truncated for column 'feed_time' at row 1
解决方法:
一般都是和数据库字段属性不匹配(溢出或者截断信息导致的),更换相应父级属性,域值更大一点的就可以了。