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 156851

Summary: HQL Editor execution improvements
Product: javaee Reporter: Vadiraj Deshpande <vadirajvd>
Component: HibernateAssignee: Vadiraj Deshpande <vadirajvd>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Vadiraj Deshpande 2009-01-15 08:46:16 UTC
HQL Editor execution currently implemented using few threads to avoid complexity. This is resulting slow execution of
the query. This needs to be updated to use multiple threads and synchronizing the execution, progress display, error
notifications, result computations and final display of the result.
Comment 1 Vadiraj Deshpande 2009-01-15 08:51:38 UTC
Rewriting code execution process.
Comment 2 ziphyre 2009-02-06 13:06:12 UTC
I try to run some queries on HQL Editor but it is not only slow, it just doesn't complete and hangs forever.
In my case, it hangs on %80 on processing. It's a large db, but not huge. It has 70+ tables, but very few rows in every
table. (development phase)

A workaround was to add <property name="hibernate.max_fetch_depth">1</property>
So it takes 2-3 minutes to return a table of 7 columns and 8 rows.

I consider this as a bug rather then inconvenience. Is there any possibility to include this sooner then ver7?
Comment 3 Martin Balin 2016-07-07 08:56:34 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss