若依Cause: java.sql.SQLException: Incorrect integer value: ‘‘ for column ‘praises‘ at row 1 ; uncate

### Cause: java.sql.SQLException: Incorrect integer value: '' for column 'praises' at row 1 ; uncategorized SQLException; SQL state [HY000]; error code [1366]; Incorrect integer value: '' for column 'praises' at row 1; nested exception is java.sql.SQ

查看数据库对应类型是否一致

int-long

varchar-string

若依Cause: java.sql.SQLException: Incorrect integer value: ‘‘ for column ‘praises‘ at row 1 ; uncate_第1张图片

 

你可能感兴趣的:(java,开发语言)