mysql利用hibernate连接数据库出错

来源:互联网 发布:剑三五毒萝莉捏脸数据 编辑:程序博客网 时间:2024/05/17 04:46

myeclipse自动生成的代码

但是save完就一直报错。

非常无奈,根本百度不到,因为错误

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit, _used, _email, register, _image) values ('hello', 'fj', 5, 4, '4426@qq.co' at line 1

最后,经过测试才发现,列名不能叫limit。。。

就这个问题。太坑爹了。。


0 0