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 106087 - JPA: named query not supported
Summary: JPA: named query not supported
Status: RESOLVED INVALID
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-08 07:19 UTC by ming80
Modified: 2008-04-07 14:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ming80 2007-06-08 07:19:10 UTC
The Query component (under the Java Persistence group) does not support named 
query property (as in EntityManager.createNamedQuery(String name)). I believe 
that common development patterns of JPA is to group the queries as named 
queries in each corresponding entity classes, and it would be nice if those 
queries can be referenced by specifying their name or choosing from a list. The 
current Query component only allows direct query string (as in 
EntityManager.createQuery(String query)), which will redundantly duplicates the 
queries in the entity classes.
Comment 1 Marian Mirilovic 2007-06-08 08:26:02 UTC
No idea where this belongs to ... feel free to reassign
Comment 2 Erno Mononen 2007-10-26 10:47:59 UTC
Hmm, visualweb/databinding?
Comment 3 Winston Prakash 2008-01-21 15:53:03 UTC
Andre, why did you assign it back to Visual web.
Visualweb has no direct support for JPA.Only
are where JPA artifaacts are in the web project
area.
Comment 4 Andrei Badea 2008-01-21 17:55:16 UTC
Sorry, I don't know where to look to reproduce this issue. What is this Query component, and which Java Persistence
group did you mean? Please send detailed steps leading to the issue. Thanks.
Comment 5 Andrei Badea 2008-03-12 18:28:38 UTC
Reporter: any update? Please give more details, as requested in desc5. Thanks.
Comment 6 Andrei Badea 2008-04-07 14:21:31 UTC
No reply from reporter, so closing.