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 219179

Summary: Netbeans editor becomes unresponsive when editing classes with many complex Hibernate named queries
Product: javaee Reporter: maks_t34
Component: PersistenceAssignee: Sergey Petrov <sj-nb>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description maks_t34 2012-09-28 11:44:21 UTC
I have a large java project using Hibernate as persistence provider. I have many of Entity classes that have a number of complex Hibernate named queries defined.

When I open such class for editing Netbeans becomes unresponsive (the entity has 23 named queries defined with 3 joins on the average). There is a noticeable typing lag, the auto-completion queries for java code can run for 1-2 minutes.

Note: I haven't noticed such behavior with any other type of files/classes in my project.
Comment 1 Sergey Petrov 2012-09-28 19:53:55 UTC
suppose it's 7.2 and it's not 7.2.1,
should be a duplicate of issue 216053
Comment 2 maks_t34 2012-09-29 10:46:35 UTC
You are right. I have realized version mismatch and was going to correct that.
Comment 3 maks_t34 2012-09-29 10:49:00 UTC

*** This bug has been marked as a duplicate of bug 216053 ***