我在两个表之间有一个OneToMany / ManyToOne关系。表Partition中有一个外键引用id of Event。Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax.
dialect设置为org.hibernate.dialect.MySQL5Dialect,driver class设置为com.mysql.jdbc.Dr