Bug 228041 - eclipselink persistence.xml combos need more user friendly labels
Summary: eclipselink persistence.xml combos need more user friendly labels
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.0 M7   Edit
Assignee: Karen Butzke CLA
QA Contact:
URL:
Whiteboard:
Keywords: PII
Depends on:
Blocks:
 
Reported: 2008-04-21 12:02 EDT by Karen Butzke CLA
Modified: 2008-06-04 13:11 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karen Butzke CLA 2008-04-21 12:02:16 EDT
Enums in EclipseLink persistence.xml editor combos could be more user friendly instead of matching the underlying property.

Cache Type is currently:

Default (SoftWeak)
Full
HardWeak
None
SoftWeak
Weak

Potentially change this to:

Default (Weak with Soft Subcache)
Full
Weak With Hard Subcache
None
Weak with Soft Subcache
Weak


DDL Generation Type is currently:

None
Create-tables
Drop-and-Create-tables

change to:

None
Create Tables
Drop and Create Tables

Logging Level:
Change the order of these from alphabetical to order of log output detail:
Off
Severe
Warning
Info
Config
Fine
Finer
Finest
Comment 1 Karen Butzke CLA 2008-04-21 12:03:23 EDT
Shaun, any thoughts on these?
Comment 2 Karen Butzke CLA 2008-04-21 12:37:25 EDT
Another persistence.xml editor UI label change:

Customization tab

Weaving combo:

Default (true)
false
static
true

change to:

Default (True)
True
False
Static
Comment 3 Karen Butzke CLA 2008-04-21 12:42:24 EDT
On the Customization tab 'Weaving Lazy' check box, not sure on this one.  'Enable Lazy One-to-One through Weaving' seems rather long winded for a check box.
Comment 4 Karen Butzke CLA 2008-04-21 12:44:51 EDT
Customization tab 'Throw Exceptions' check box.  Possibly change this to a combo box with options 'Default (Throw Exceptions)', 'Throw Exceptions', and 'Log Warnings'
Comment 5 Karen Butzke CLA 2008-04-21 12:46:24 EDT
(In reply to comment #2)

> 'Weaving' combo:
>   Default (True)
>   True
>   False
>   Static

Could change this to :

Default (Weave Dynamically)
Weave Dynamically
Do Not Weave
Weave Statically

Comment 6 Karen Butzke CLA 2008-04-21 15:17:03 EDT
Customization tab, I'm thinking 'Descriptor Customizer' should be changed, though the underlying property is descriptor.customizer.  This just feels like a toplink specific name, instead of jpa specific.
Comment 7 Karen Butzke CLA 2008-04-21 15:17:29 EDT
On the Connection tab there is a section with a border around it with no title.
Comment 8 Karen Butzke CLA 2008-04-22 20:46:03 EDT
(In reply to comment #0)

Made these changes
Cache Type:
> Default (Weak with Soft Subcache)
> Weak with Soft Subcache
> Weak with Soft Subcache
> Full
> Soft (added this, it was missing orginally)
> Weak
> None

DDL Generation Type:
> None
> Create Tables
> Drop and Create Tables

Logging Level:
> Off
> Severe
> Warning
> Info
> Config
> Fine
> Finer
> Finest

(In reply to comment #5)
Weaving:
> Default (Weave Dynamically)
> Weave Dynamically
> No Weaving
> Weave Statically

I did not make changes for comment #3, 4, 6

comment # 7 was fixed by Pascal, this is checked in
Comment 9 Karen Butzke CLA 2008-04-23 17:53:40 EDT
fixed for M7, opening bug 228536 for the few remaining issues mentioned here.  Also, if you have feedback on the changes made, they can be addressed there.
Comment 10 Karen Butzke CLA 2008-06-04 13:11:41 EDT
verified in WTP 3.0RC3