This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
https://netbeans.org/kb/docs/java/hibernate-java-se.html section Modifying the Hibernate configuration Issue 192027 addresses this but I believe the fix is wrong. The property value in the drop down is <code>org.hibernate.hql.classic.ClassicQueryTranslatorFactory</code> Where as it should be <code>org.hibernate.hql.interbal. classic.ClassicQueryTranslatorFactory</code> The tutorial then works fine.
note there is a typo in the above comment. The correct value is: org.hibernate.hql.internal.classic.ClassicQueryTranslatorFactory
If I use: <property name="hibernate.query.factory_class">org.hibernate.hql.internal.classic.ClassicQueryTranslatorFactory</property> The 'Run HQL Query' editor reports that it does not connect to the database, however when the default factory class is used it tries to run, but only gets to about 80% So there seems to be an inconsistency there somewhere.
Sorry I should have added with the modified factory class the application works fine.
I belive it was fixed corrctly but only for hibernate 3.x, after upgrade to hibernate 4.x these clases should be changed, also org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory fix http://hg.netbeans.org/web-main/rev/72bc3b0d8f78 may affect hb tutorials if I'll restore hibernate support in 8.0.1
Integrated into 'main-silver', will be available in build *201407090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/72bc3b0d8f78 User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #241729 fix class names