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.
Summary: | Property hibernate.query.factory_class is shown the wrong value | ||
---|---|---|---|
Product: | javaee | Reporter: | manikantannaren <manikantannaren> |
Component: | Hibernate | Assignee: | Sergey Petrov <sj-nb> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kganfield, tonyattwood |
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
manikantannaren
2014-02-12 02:39:24 UTC
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 |