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.
Create new EJB module Menu/File/New File... Choose persistence categorie and Entity Class as file type set for example All as a class name and set some package error message should be shown and finish button should be disabled because "All" is EJB QL reserved word, but it is not and pressing Finish button new class is generated with error message
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