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 86104 - Generate findAll named query
Summary: Generate findAll named query
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dongmei Cao
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-29 01:19 UTC by Rochelle Raccah
Modified: 2008-05-03 00:11 UTC (History)
1 user (show)

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 Rochelle Raccah 2006-09-29 01:19:06 UTC
The Entity from DB wizard generates POJO classes with named queries with params
for each field where it makes sense.  We should also generate a named query that
returns all instances with no params:

name: findAll named query
contents like this (for a class named Cd):
SELECT c FROM Cd c
Comment 1 Dongmei Cao 2008-05-03 00:11:07 UTC
Fixed in http://hg.netbeans.org/main/rev/f60fd9dc641d
Added findAll NameQuery