:93)at org.hibernate.impl.SessionImpl.save: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version(SQLError.java:936)
at com.mysql.jdbc.MysqlIO
我最近开始尝试使用Hibernate,但现在正在Netbeans中使用。这使得我不得不使用来尝试让我启动并运行。不幸的是,在“枚举电影标题和使用HQL查询检索Actors”的步骤中,我的HQL查询没有给出结果,而是失败了,只有以下例外:
org.hibernate.exception.SQLGrammarExceptionright syntax to use near 'from lim