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 159084

Summary: JPQL Parsing and validating in the editor panel.
Product: javaee Reporter: jonathanvilalopez <jonathanvilalopez>
Component: PersistenceAssignee: issues@javaee <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description jonathanvilalopez 2009-02-24 17:00:40 UTC
I think it would be so interesting that NB parse the String texts in the java code where we put the JPQL queries.... 

For instance :

 String sql = " SELECT obj FROM CrsMreserva obj WHERE (obj.codigohot.codigohot = :pcodigohot)";
 Query consulta = SercotelPersistenceCRS.getInstance().getDatabase().createQuery(sql);

When I create the sql I do not have any help from the editor to know if I'm using the correct entities ( case sensitive
) or if I have put wrong characters.....
Comment 1 Sergey Petrov 2009-11-13 00:23:11 UTC
looks like a duplicate of #111219 with request of code completion etc

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