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 92207 - The Entity Class wizards need to have options for configuring persistence providers
Summary: The Entity Class wizards need to have options for configuring persistence pro...
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Josef Holy
URL:
Keywords: UI
Depends on: 93819
Blocks:
  Show dependency tree
 
Reported: 2007-01-10 13:18 UTC by Erno Mononen
Modified: 2007-02-01 15:06 UTC (History)
1 user (show)

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 Erno Mononen 2007-01-10 13:18:44 UTC
Currently when you invoke the entity classes from DB or the standard entity 
class wizard without having created a persistence unit the generated classed 
are not compilable due to missing javax.persistence.* classes. It would be nice 
if there was a possibility to add a library containing the required classes in 
the wizards. Therefore, based on Andrei's idea I'd like to suggest removing the 
'create pu' button from the step two (step one in the standard ec wizard) in 
the wizards and putting it to an additional step, which would also contain 
options for adding a persistence provider library to the probject. 

The additional panel would contain three radio buttons; one for creating a pu, 
one for adding a library to the project and one for taking no action. The 
create pu option would have a button for customizing it (it would basically 
open the dialog that's now have for creating a pu) and the add library button 
would have an associated combo box for selecting the provider library. The 
space freed by the moving of the create pu button in the second panel could be 
used by future enchancements in the wizards.

If needed, I can illustrate the proposal with some ASCII art.
Comment 1 Rochelle Raccah 2007-01-11 01:34:43 UTC
See also issue 75948 and issue 82634.