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.
According to the sanjeev krishnan e-mail: The CMP Bean Wizard should explicitly say that it is for generating a CMP bean from an existing database schema (I found this out the hard way much later, see below). BUG. The "JDBC Connection" choice should be renamed to something like "Import a database schema". BUG. - I select Database Schema and click Next, it expects me to Select Database Schema Object from a filesystem tree, obviously I have none. The "Database Schema" choice on the 1st screen should be renamed to "Select an existing Database Schema file", to make this clear. BUG.
I am not sure what UI version the bug is refering to (whether the current implementation or a previous one). Anyway, the current implementation should be brought up in synch with the spec, which I believe provides enough guidence and description how to proceed in the wizard: * step list and step titles should be corrected * descriptions should be provided (not in the title border!) Please have a look at the spec in the URL field. Thanks.
Please use the UI keyword to identify all bugs that affect the UI. Pavle, is there going to be more explanatory text added to this wizard? If so, when will it be integrated and which resource bundles will it affect?
taking over this one
Hmm, it's not simple at all. The current impl of the CMP bean wizard and the UI spec are not consistent with each other. The UI spec says the user can select any .dbschema file to generate CMP beans from. In the current impl there is a combobox which lists the available .dbschema. When I looked at it firstly, the list was empty, the conresponding radiobutton was grayed and I had no idea how to enable it. Then I went ahead and generated CMP beans from jdbc connection. (Ran into bug 56667). Later on when I invoked the CMP wizard again I see one .dbschema file offered. This was generated as a byproduct of the cmp generation!!
this doesn't look like P3 to me. Needs to be resolved one way or another before we ship
Adding Jiri Kopsa to cc. Jirko, how do we need to change the UI (and the spec) to make it more understandable?
Additional comment from ttran: the UI spec says textfield. The IDE has combobox. Either the spec is wrong or the impl is wrong, or both. Fix it. I hope I made it very clear now
Note that the ui used to look more like the spec (EA1?), but was then changed. So, perhaps it was from HIE input that was not yet distilled into the spec?
CMP Fields part: /cvs/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/logicalview/ejb/entity/CMPFieldsNode.java,v <-- CMPFieldsNode.java; initial revision: 1.1 /cvs/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/logicalview/ejb/entity/EntityChildren.java,v <-- EntityChildren.java; new revision: 1.7; previous revision: 1.6 /cvs/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/logicalview/ejb/shared/DDEditorNavigator.java,v <-- DDEditorNavigator.java; initial revision: 1.1 /cvs/j2ee/ddloaders/src/org/netbeans/modules/j2ee/ddloaders/multiview/EjbJarMultiViewDataObject.java,v <-- EjbJarMultiViewDataObject.java; new revision: 1.38; previous revision: 1.37
Sorry, last commit log doesn't belong to this issue.
This issue was discussed very heavily but any final conclusion was not yet reached. Current implementation allows the user to choose a DBSCHEMA file contained in the project folder. An enhancement might be to allow the user to use an external DBSCHEMA in the same way as an external WSDL file can be used to create a web service. We agreed with docs and Peter J. to accept the current state for promo-E. However, the use cases and workflow need to be revised and enhanced in promo-F. I'm changing the summary field, switching this to an ENHANCEMENT for promo-F and assigning to me. The UI spec will be updated along with other changes.
As far as choosing a dbschema from outside, see related issue 55232.
TM 5.0 -> TBD
Reassigning to Jano, who works on Java EE.
Closing as WONTFIX since the CMP bean wizard is obsolete feature which was already removed from the IDE.