Community
Participate
Working Groups
Currently we do not have UI support for many of the secondary values for Table and Column. The example for Table is uniqueContraints, for Column would be nullable, length, etc. The primary elements of Table and Column should remain in the main area of a given composite, while the primary and secondary elements could be located in a expandable composite specifically for Table or Column. This keeps them out of the way for normal mapping use, but accessible for those who want to define the DB schema in the code, or for other uses.
We decided to support Column as follows: Name : ________________ Column : ________________ > Details (no border on this twistie) + Insertable (tri-state check box) + Updatable + Unique + Nullable - Length (spinner) - Precision - Scale All Join Column dialogs will have a Details twistie as well which will have the 4 checks boxes : Insertable, Updatable, Unique, Nullable. Not positive if the twistie is necessary on a dialog, so Pascal how about not doing the twistie and we'll see how it looks? This bug will not handle the missing Table widgets (I think that's only unique constraints).
Discriminator Column is missing a setting for length, I don't think that one setting would warrant a twistie. Neil, do we want to support this setting in our UI?
Created attachment 93290 [details] Added new settings to Column pane and Join Column dialog The twistie in the dialog doesn't seem to work well since the dialog is by default not-resizable.
(In reply to comment #2) > Discriminator Column is missing a setting for length, I don't think that one > setting would warrant a twistie. Neil, do we want to support this setting in > our UI? > We are also missing columnDefinition, both of which would be used for the purpose of DDL Generation. That would make 2 widgets to hide. I don't think either of these 2 settings will be commonly used, but they do seem to go well with the rest of the additions under this bug. Let's come back to it if Pascal has enough time. Other thoughts?
Checked in this patch. Remaining work for this bug: 1. 'column definition' support 2. 'primary key join column' dialog needs extra settings 3. 'join column' in 'join table' dialog needs extra settings Will create separate bugs for 'discriminator column; settings and 'table' settings
Created attachment 93660 [details] Added missing UI support Also: 1. The default value is now shown to the right of a spinner 2. Fixed an issue in ControlAligner and updated its test
Checked in this patch. Remaining work is now: 2. 'primary key join column' dialog needs extra settings 3. 'join column' in 'join table' dialog needs extra settings
Created attachment 93983 [details] Added the missing settings and fixed several bugs in the dialogs
Checked these changed in to HEAD, will be included in M6
mass change to add 'contributed' keyword based on bugzilla query, please correct if that's not accurate (by marking patches as obsolete and removing the 'contributed' keyword.