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.
When creating a "New Entity Class From Database" there is a checkbox to create a new persistence context (in a new project that does not have one yet). There is however no possibility in the wizard to choose the persistence provider (defaults to eclipselink) or PU name (defaults to <projectname>PU). The new Entity Class wizard DOES contain a screen to configure these attributes of a persistence unit. Please add this possibility to the "New Entity Class From Database" wizard as well.
At some point theer was a decision to remove this step to "simplify" this wizard. It's hard to return it back now. If you don't like defaults, you have to create pu from separate wizard or edit it after creation.
It's inconsistent to have the same checkbox behave differently in two wizards. If you check creation of PU, expecting the wizard to behave consistently, you received a bad PU; In that situation it is also counterintuitive having to create a NEW (extra?) PU for which you can set the essential characteristics like provider. Can't understand how this can be hard to turn back in a modern development process. But, I can indeed work around it, no problem. Just wanted to give feedback on usability.
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