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.
Summary: | New Entity Class wizard doesn't check reserved literals in EJB QL | ||
---|---|---|---|
Product: | javaee | Reporter: | Jindrich Sedek <jsedek> |
Component: | Persistence | Assignee: | Dongmei Cao <dongmeic> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 81163 | ||
Bug Blocks: | |||
Attachments: | Proposed patch after issue 81163 is fixed. |
Description
Jindrich Sedek
2006-07-20 14:43:31 UTC
I checked and "All" is in the list of reserved words at j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/dd/Bundle.properties However, it seems this list is not checked for New Entity/New Entity from DB It is easy fix once issue 81163 is resolved. Created attachment 32233 [details]
Proposed patch after issue 81163 is fixed.
Issue 81163 blocks checking this in the New Entity wizard, but not in the Entity from DB wizard. Fixed for the New Entity from DB wizard: Checking in src/org/netbeans/modules/j2ee/persistence/entitygenerator/EntityMember.java; /cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/entitygenerator/Attic/EntityMember.java,v <-- EntityMember.java new revision: 1.1.2.1.2.4; previous revision: 1.1.2.1.2.3 done Checking in src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/Bundle.properties; /cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/Attic/Bundle.properties,v <-- Bundle.properties new revision: 1.1.2.3.2.26; previous revision: 1.1.2.3.2.25 done Checking in src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/TableUISupport.java; /cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/Attic/TableUISupport.java,v <-- TableUISupport.java new revision: 1.1.2.9; previous revision: 1.1.2.8 done This issue is blocked by issue 81163, so it cannot be fixed until the other one is fixed. Should we mark that one also as fix-in-55? Will not be fixed in 5.5 because of dependency. Marking as evaluated for 6.0 - this is a valid P3, not critical for the release. This not a P3: user impact low (it is easy to rename the newly generated entity class), and there is a hint telling the user that the name is reserved. low priority NetBeans.org Migration: changing resolution from LATER to WONTFIX |