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

Summary: Generate findAll named query
Product: javaee Reporter: Rochelle Raccah <raccah>
Component: PersistenceAssignee: Dongmei Cao <dongmeic>
Status: RESOLVED FIXED    
Severity: blocker CC: mvatkina
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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