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.
There is no code completion in empty query. To reproduce: - create web project with GlassFish server - create entity classes from database for jdbc/sample - open Customer.java - insert new line behind @NamedQueries({ and paste empty named query definition there: @NamedQuery(name = "Customer.find1", query = ""), - place cursor at empty query and invoke code completion (Ctrl+Space) - it shows "No suggestions" - type space and invoke code completion (Ctrl+Space) again - now it shows completion items correctly Product Version: NetBeans IDE Dev (Build 201212040001) Java: 1.7.0_10; Java HotSpot(TM) 64-Bit Server VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-b18 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
http://hg.netbeans.org/main-silver/rev/964a1278cce6
Integrated into 'main-golden', will be available in build *201212070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/964a1278cce6 User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #223244 do not filter out zero length attributes