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 253236

Summary: createNamedStoredProcedureQuery: Go to Declaration should work
Product: javaee Reporter: terje7601
Component: PersistenceAssignee: Sergey Petrov <sj-nb>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description terje7601 2015-06-29 13:20:52 UTC
Currently, with:
em.createNamedQuery("Employee.findByName")
you can do "Go to declaration" on the query name.

However, with:
em.createNamedStoredProcedureQuery("Employee.calculateBonus")
this doesn't work.

This should be made to work by searching:
- @NamedStoredProcedureQuery annotations
- "named-stored-procedure-query" elements in the mapping files (i.e. the default orm.xml and any mapping files that are defined in persistence.xml)


Product Version: NetBeans IDE Dev (Build 201506220001)
Updates: Updates available
Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)