You have an error in your SQL syntax check the manual that corresponds to your M

论坛 期权论坛 脚本     
匿名技术用户   2021-1-7 03:09   45   0

“You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax error”

原因:数据库表中有个名为order的表名

解决办法:

@Table(name = "`order`")
public class order {
}

参考: https://stackoverflow.com/a/11696074/1280694

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:7942463
帖子:1588486
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP