Bug 356475 - Add/update database resource binding in New EGL Record > SQL wizard
Summary: Add/update database resource binding in New EGL Record > SQL wizard
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Zhi Zhu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 362759 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-01 09:45 EDT by Will Smythe CLA
Modified: 2017-02-23 14:17 EST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Will Smythe CLA 2011-09-01 09:45:49 EDT
The current "record from SQL database table" wizard has a single checkbox for adding the selected database connection to the deployment descriptor. I don't think this is sufficient since it's very probable the developer will have more than 1 deployment descriptor and it's probably not good to add the resource binding to just the development DD. 

I am imagining a text field at top of the wizard page for the resource binding name (defaulted to the name of the selected database connection) and a checkbox tree showing all EGL projects in the workspace and their DD files. The DDs contained within the selected project (page 1 of the wizard) should be the only DDs checked by default, but the developer can uncheck these and check others. The developer should be able not select any DDs, but still finish the wizard.
Comment 1 Will Smythe CLA 2011-09-01 09:46:54 EDT
For 0.7, let's not attempt to add the database connection info to the DD(s) in the New Record wizard. This means developers will need to add the resource binding manually via the DD editor ...
Comment 2 Matt Heitz CLA 2011-09-02 12:37:03 EDT
Sounds good to me.
Comment 3 Will Smythe CLA 2011-11-03 09:47:25 EDT
*** Bug 362759 has been marked as a duplicate of this bug. ***
Comment 4 Will Smythe CLA 2011-11-03 09:49:52 EDT
Note: basic support for creating a resource binding for the selected database is in 0.7 already. This request is to enhance the support to give the developer the ability to choose which DDs to add the binding to and to control whether the settings are copied in or linked (via a workspace:// uri)
Comment 5 Yun Feng Ma CLA 2012-01-10 02:41:07 EST
Zhi is full time on 8013 SVT, so move this enhancement out of I1. Thanks.
Comment 6 Zhi Zhu CLA 2012-01-29 21:48:57 EST
Since adding resource binding to more than one DD is one of the requirements, the bug depends on bug 352831