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 74547 - Tables which have existing POJOs not disabled after restart
Summary: Tables which have existing POJOs not disabled after restart
Status: RESOLVED DUPLICATE of bug 139854
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:
: 123763 (view as bug list)
Depends on: 95534
Blocks:
  Show dependency tree
 
Reported: 2006-04-06 23:48 UTC by Rochelle Raccah
Modified: 2008-07-17 19:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
project (23.60 KB, application/octet-stream)
2006-04-06 23:50 UTC, Rochelle Raccah
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rochelle Raccah 2006-04-06 23:48:09 UTC
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.
Comment 1 Rochelle Raccah 2006-04-06 23:50:00 UTC
Created attachment 29679 [details]
project
Comment 2 Andrei Badea 2006-07-28 10:39:03 UTC
Need to wait for ORMMetadata to finish scanning.
Comment 3 Andrei Badea 2007-02-15 17:47:01 UTC
Could be handled by the new metadata model.
Comment 4 Andrei Badea 2008-01-15 12:23:31 UTC
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.
Comment 5 Andrei Badea 2008-01-15 16:57:06 UTC
*** Issue 123763 has been marked as a duplicate of this issue. ***
Comment 6 Dongmei Cao 2008-07-17 19:55:32 UTC
Fixed in changeset 617eac3402b2

*** This issue has been marked as a duplicate of 139854 ***