出现 Data truncated for column 'date' at row 1 的错误解决方案
来源:互联网
严重: Servlet.service() for servlet [spring-mvc] in context with path [/DBDX] threw exception [Request processing failed; nested exception is com.dbdx.util.DaoException: 数据库操作失败!; nested exception is org.springframework.dao.DataIntegrityViolationException: PreparedStatementCallback; SQL [insert into z_praise(kt_id,t_id,date,deleted) values(?,?,?,?)]; Data truncated for column 'date' at row 1; nested exception is java.sql.SQLException: Data truncated for column 'date' at row 1] with root cause严重: Servlet.service() for servlet [spring-mvc] in