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.

Bug 241729 - Property hibernate.query.factory_class is shown the wrong value
Summary: Property hibernate.query.factory_class is shown the wrong value
Alias: None
Product: javaee
Classification: Unclassified
Component: Hibernate (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Sergey Petrov
Depends on:
Reported: 2014-02-12 02:39 UTC by manikantannaren
Modified: 2014-07-09 15:08 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description manikantannaren 2014-02-12 02:39:24 UTC
section Modifying the Hibernate configuration

Issue 192027 addresses this but I believe the fix is wrong.

The property value in the drop down is 
Where as it should be 
<code>org.hibernate.hql.interbal. classic.ClassicQueryTranslatorFactory</code>

The tutorial then works fine.
Comment 1 Kenneth Ganfield 2014-03-18 15:51:53 UTC
note there is a typo in the above comment.
The correct value is:

Comment 2 tonyattwood 2014-05-15 15:06:00 UTC
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.
Comment 3 tonyattwood 2014-05-15 15:07:13 UTC
Sorry I should have added with the modified factory class the application works fine.
Comment 4 Sergey Petrov 2014-07-07 18:53:09 UTC
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


may affect hb tutorials if I'll restore hibernate support in 8.0.1
Comment 5 Quality Engineering 2014-07-09 02:48:38 UTC
Integrated into 'main-silver', will be available in build *201407090001* on (upload may still be in progress)

User: Sergey B. Petrov <>
Log: #241729 fix class names