You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Thomas Bernhard (JIRA)" <de...@cayenne.apache.org> on 2007/10/31 18:10:52 UTC

[JIRA] Created: (CAY-910) CM: Keep original field order

CM: Keep original field order
-----------------------------

                 Key: CAY-910
                 URL: https://issues.apache.org/cayenne/browse/CAY-910
             Project: Cayenne
          Issue Type: Bug
          Components: CayenneModeler GUI
    Affects Versions: 1.2 [STABLE], 2.0 [STABLE], 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.


[jira] Commented: (CAY-910) CM: Keep original field order

Posted by "Tiho Lupak (JIRA)" <de...@cayenne.apache.org>.
    [ https://issues.apache.org/cayenne/browse/CAY-910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13075#action_13075 ] 

Tiho Lupak commented on CAY-910:
--------------------------------

> CM is a mapping tool (as opposed to "professional DB tool") 
I suppose that the author ment a "professional tool" or a "professional mapping tool" :).

As a mapping tool, I believe CayenneModeler should respect the DB order, or supply some support for changing it (instead of the default sorting). There are just too many cases where this order is important.

> CM: Keep original field order
> -----------------------------
>
>                 Key: CAY-910
>                 URL: https://issues.apache.org/cayenne/browse/CAY-910
>             Project: Cayenne
>          Issue Type: Bug
>          Components: CayenneModeler GUI
>    Affects Versions: 1.2 [STABLE], 2.0 [STABLE], 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.


[JIRA] Commented: (CAY-910) CM: Keep original field order

Posted by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org>.
    [ https://issues.apache.org/cayenne/browse/CAY-910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12573 ] 

Andrus Adamchik commented on CAY-910:
-------------------------------------

> think this is a bug - most professional DB tools respect this original order. 

CM is a mapping tool (as opposed to "professional DB tool") and there's no notion of order at the DbEntity object... Not that I have specific objections (other than the need to preserve the internal attribute storage in the form of a Map)... 

> CM: Keep original field order
> -----------------------------
>
>                 Key: CAY-910
>                 URL: https://issues.apache.org/cayenne/browse/CAY-910
>             Project: Cayenne
>          Issue Type: Bug
>          Components: CayenneModeler GUI
>    Affects Versions: 1.2 [STABLE], 2.0 [STABLE], 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.