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.
[ BUILD # : 200903310200 ] [ JDK VERSION : 1.6.* ] I have an enterprise app with previously generated entity classes. I've made changes to my database that include adding tables, and I want to create entity classes for the new tables. But the new tables are not listed in the dialog. 0) Stop GlassFish, delete existing database. 1) Create new database from changed DDL, restart GlassFish. 2) In EJB subproject, right-click db schema and select "Recapture Schema from Database". Appears to complete normally. 3) When db schema tree in "Configuration Files" is expanded, new tables do not appear. 4) Right-click EJB subproject and select "New/Entity Classes from Database". 5) "Database Schema" radio button is selected in dialog by default, but new tables do not appear under "Available Tables". 6) If I select "Data Source" radio button instead, I see the database connection I previously created in the Databases node of the Servers tab. If I select that, the new tables do appear; after creating entity classes from them, they now also appear in the db schema tree. I am using my own copy of GlassFish; it appears in the Servers tab and shows the expected information. I am able to deploy to it from NetBeans.
Correction: The data sources in step 6) were actually those set up in GlassFish as JDBC resources. I have similar connections set up in the Databases node of the Servers tab, so I thought that's where they were coming from.
I saw this again today in build 200904290201.
Hello, I believe the problem is in step 3) "When db schema tree in "Configuration Files" is expanded, new tables do not appear." If the new tables are not visible, I think something did not complete properly. Then it is no surprise that wizard does not see the tables too. Can you please attach the schema which does not work for you? I would like to retest with latest bits. Thank you in advance!
Created attachment 81980 [details] database schema
Database schema attached. We just added a few tables and the same thing happened; the tables added were skucolorgroup, skucolorgroupi18n, and colortogroup.
Adding dependency of this issue on Issue 156920... Reporter, can you confirm that you can reproduce the problem in Issue 156920 ? Thanks!
in my opinion it's exactly issue 156920, feel free to reopen if it's not and provide detailes mentioned above, thanks. *** This issue has been marked as a duplicate of 156920 ***