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 243320 - Please provide overall JPQL code completion
Summary: Please provide overall JPQL code completion
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 8.0
Hardware: All All
: P2 normal with 1 vote (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-27 11:20 UTC by daedalus
Modified: 2014-03-27 11:20 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description daedalus 2014-03-27 11:20:30 UTC
Hello, 

first of all let me say I think the JPQL Support of Netbeans is fantastic. And thats why I'm very sad that most of the time I cannot benefit from it. 

It seems that Netbeans does only recognize String as  JQPL queries in the @NamedQuery annotation or in the createQuery() Method of the EntityManager. 

However in every project I'm working in we use a wrapper class for the EntityManager and do not use named queries. But we do write a lot of JPQL. 

I understand that you cannot scan every String in my code to check if it might be a jpql query. What would really help would be a solution for manually telling Netbeans: "Hey I'm writing JPQL please support me!" 

Maybe right click a String and click "enable jqpl support" or some keyboard shortcut? Whatever you think it is best. 

I'm sure this feature would help a lot of people.