cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Stan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAY-910) CM: Keep original field order
Date Sun, 10 Jan 2010 10:35:54 GMT

    [ https://issues.apache.org/jira/browse/CAY-910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798460#action_12798460
] 

George Stan commented on CAY-910:
---------------------------------

This alphabetical sorting of fields is indeed counterproductive :(.

It's reducing Cayenne usability in DDD projects (where the database order of fields expands
up to the UI).

Also, from the usability point of view, it's an unexpected behavior - some colleagues believed
this would be only in the CM UI (sorting of the jTable), but instead, indeed CM enforces this
in the saved  XML mapping file too :(.

> CM: Keep original field order
> -----------------------------
>
>                 Key: CAY-910
>                 URL: https://issues.apache.org/jira/browse/CAY-910
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Modeler
>    Affects Versions: 1.2 branch, 2.0 branch, 3.0
>            Reporter: Thomas Bernhard
>            Assignee: Andrus Adamchik
>
> Please keep the original order of fields on reverse engineering in Cayenne Modeler.
> It looks like some sort of alphabetical sorting is done on reverse engineering, without
offering the user the possibility *not* to sort. I think this is a bug - most professional
DB tools respect this original order.
> The user defined order of fields is very important, cause in many companies there are
special code conventions and practices regarding this ordering and field naming. CM's "sorting"
makes the work a pain - please fix this problem.
> I understand that in some cases such a "sorting" behaviour is wished, but I think that
"sorting" should be a separate feature and it shouldn't be active by default. Of course another
possibility would be to add a setting to CM Preferences : "Sort fileds", but that would be
more work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message