org.hibernate.exception.SQLGrammarException:

org.hibernate.exception.SQLGrammarException: could not insert: [com.club.domain.Club]

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 'describe, createId, superId) values ('11', null, null, null, null, null)' at line 1

检查属性名是否与数据库关键词冲突,在mysql中插入一条全新完整的记录进行判断。我的是因为  describe  与数据库冲突  改成了description

你可能感兴趣的:(org.hibernate.exception.SQLGrammarException:)