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.
In the Database Tables page of the Entity Classes from Database wizard. The wizard lets me select a database connection or database schema. if i select db schema, the drop-down list is empty, and there is not way to choose a db schema. I am assuming that like cmp before, the IDE only looks in conf dir. Seems that if there is no db schema in conf dir, then the Database Schema option in the wizard should be disabled. Either that or be able to browse to a schema somewhere else.
Jano, please comment. Simple fix, but I'm afraid the user would not know why the Database Schema radio button is disabled. Should we display a message like <no database schemas in project> in the combo box with schemas? Please reassign back to me after you evaluate.
I think the info label in the combo box is better. The combo box should be empty. If the user expands the combo, the info label shows up. The label has to fit into the combo box and it should not permit the user to select the label.
What about just disabling the combo box and selecting the <no database schemas in project> label? Does the user really need to be able to expand the combo box?
Oh yes. Much simpler and solves the problem. Thanks.
Fixed. 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.18; previous revision: 1.1.2.3.2.17 done Checking in src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/DBSchemaUISupport.java; /cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/Attic/DBSchemaUISupport.java,v <-- DBSchemaUISupport.java new revision: 1.1.2.6; previous revision: 1.1.2.5 done Checking in src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/DatabaseTablesPanel.java; /cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/Attic/DatabaseTablesPanel.java,v <-- DatabaseTablesPanel.java new revision: 1.1.2.23; previous revision: 1.1.2.22 done