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.
1) Start the IDE with a new userdir 2) Open the project which I will attach 3) Register GlassFish in the server manager 4) Wait for scanning classpaths to complete 5) Right click on Source Packages, choose New File/Folder 6) Open the new Entity from DB wizard 7) Choose the package1/JavaApplication1 dbschema file Bug is that PRIMITIVE_TYPES table is not disabled because of the existing POJO in the same package. Note that I tried a second time after my IDE had been open for several hours and it was disabled.
Created attachment 29679 [details] project
Need to wait for ORMMetadata to finish scanning.
Could be handled by the new metadata model.
Need to use the metadata model to check for existing entity classes in JavaPersistenceGenerator. A bit tricky, since the model should not be called in the AWT thread.
*** Issue 123763 has been marked as a duplicate of this issue. ***
Fixed in changeset 617eac3402b2 *** This issue has been marked as a duplicate of 139854 ***