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 - createNamedStoredProcedureQuery: Go to Declaration should work
Summary: createNamedStoredProcedureQuery: Go to Declaration should work
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-29 13:20 UTC by terje7601
Modified: 2015-06-29 13: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 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)