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.
If I use the New Entity from DB wizard, when I finish the wizard, I expect something to be opened in the editor. Right now, there doesn't seem to be an equivalent to an overview file, so it is not clear what should be opened, especially if multiple Entities are generated. Need HIE input.
Note that this is also inconsistent with the behavior in the New JSF from Entity wizard which opens all generated classes when the wizard is finished.
If the wizard creates multiple instances, they should *not* open in the editor. The user can actually get lost when 5, 10 or 15 files open in the editor at the same time. This is the case of "Entity from DB", "JSF from Entity" and other wizards. All created files should just be selected in Project window after finishing the wizard. We might do a special case and open the created file, if only one instance is created.
I'm okay with not opening the files but I think there are 2 points here: 1) (once we have one) an overview file should be opened 2) to be consistent and to follow the rule you mentioned below, the files after jsf from entity wizard should also not be opened perhaps 2 should be filed as a separate bug?
So either close this issue or correct it to say that jsf should not open the files. If you file a new one assign to me. Tx.
What I meant to say is that this issue should be for #1 and I can file a separate one for #2.
I do not understand what you mean by 1. Is it a bug in code that does not exist yet? :-)
To me, it's a regression that when you generate for J2EE 1.4 (CMPs) you get the ejb-jar.xml opened but here you have nothing. So I intended this as a future placeholder to open a project overview of entities when we have one, but it was assigned to Jano in case we should open one or more of the artifacts we currently create (instead).
Currently there is not overview file other then persistence.xml. But it may not even exist and in Java EE 5 module it does not list the entity classes (only in J2EE 1.4 or J2SE apps). So if Jano decides to open persistence.xml (if it exists) we can. Otherwise there is nothing to open so I will close the issue. It does not make much sense to me to have a defect open for something we may decide to do IF we implement some feature .....
No, we should not open persistence.xml. Rochelle, when you file an issue against JSF, please close this issue. Or we can change it to an enhancement. Thanks.
Okay, changed this to a future enhancement and filed issue 79452 for the JSF from Entity case.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss