Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338604 - Provide extension to deliver the possible list of data source in the persistence.xml editor
Summary: Provide extension to deliver the possible list of data source in the persiste...
Status: NEW
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: Future   Edit
Assignee: Neil Hauge CLA
QA Contact:
URL:
Whiteboard: EaseOfUse
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-01 18:48 EST by ludo CLA
Modified: 2013-10-08 11:36 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ludo CLA 2011-03-01 18:48:44 EST
Build Identifier: 3.6 M6 or later

Dali provides a nice GUI editor for persistence.xml
For the field <jta-data-source>jdbc/__default</jta-data-source>, it only provides a text field.
It would be nice to provide an extension that a server (for example the Glassfish server via its WTP adapter) could use to give a list of possible good values, as well as an action to call if a user wants to create a new datasource.
This list would be determined by the server target of the particular Eclipse project, (as well as the action).

NetBeans does that for example and it solves a lot of issue from a user perspective.
Of course, if the current server does not implement this extension, the editor would default to the current simple text field with no validation.


Reproducible: Always
Comment 1 Neil Hauge CLA 2011-07-01 16:26:15 EDT
Moving JPA specific bugs to new JPA component in bugzilla.
Comment 2 Neil Hauge CLA 2013-04-30 12:36:01 EDT
Deferred to 3.4.