GenericJDBCException: could not execute statement 错误解决

 

 "message":"could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement","status":"500"

1.数据库表主键未设置自增

2.数据库表类型与代码中的数据类型不相同

posted @ 2019-09-19 15:35  47Knife  阅读(4125)  评论(0编辑  收藏  举报