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.
When editing hibernate.cfg.xml file in visual editor, there is option under Miscellaneous properties section to add the hibernate.query.factory_class. The value option available in the dropdown list for the property appears to be incorrect. Choosing the value results in the following: <property name="hibernate.query.factory_class">org.hibernate.hql.classic.ClassicQueryTransactionFactory</property> The following value throws an exception: org.hibernate.hql.classic.ClassicQueryTransactionFactory I think maybe the value in the list should be: org.hibernate.hql.classic.ClassicQueryTranslatorFactory which will result in the following property in xml view and which does not throw an exception: <property name="hibernate.query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory</property>
Created attachment 102374 [details] Screenshot of the Dialog Screenshot of the Edit-Dialog of the "Miscellaneous Property" "hibernate.query.factory_class". In the Drop-Down-Box is the wrong Value "org.hibernate.hql.classic.ClassicQueryTransactionFactory" and in Value-Field the correct (manually entered) Value of "org.hibernate.hql.classic.ClassicQueryTranslatorFactory".
I think the Bug is in File: hibernate/src/org/netbeans/modules/hibernate/cfg/HibernateCfgProperties.java in Line 179 (it's the second Member of the String-Array QUERY_FACTORY_CLASS).
This appears to be now fixed. Feel free to close
*** This bug has been marked as a duplicate of bug 192027 ***