开始一直以为是hibernate配置原因 和 jar包等级问题等。
后来发现
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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
'group, manageFlag, id) values ('wind', '123456', null, null, null, null, 4)' at line 1
使用了mysql的关键字group,换成其他字段即可。
HIbernate save报错 org.hibernate.exception.SQLGrammarException: could not execute
猜你喜欢
转载自lovejavah123.iteye.com/blog/2302991
今日推荐
周排行