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.

Bug 241585 - In "New Entity Class From Database" can not choose persistence provider
Summary: In "New Entity Class From Database" can not choose persistence provider
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-08 21:04 UTC by catweasle
Modified: 2016-07-07 08:54 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description catweasle 2014-02-08 21:04:32 UTC
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.
Comment 1 Sergey Petrov 2014-02-09 10:28:28 UTC
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.
Comment 2 catweasle 2014-02-09 12:59:18 UTC
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.
Comment 3 Martin Balin 2016-07-07 08:54:25 UTC
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