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

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Wed Oct 31 2007 - 14:52:50 EDT

  • Next message: Andrus Adamchik: "Re: AppFramework licensing discussion"

        [ 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.
    



    This archive was generated by hypermail 2.0.0 : Wed Oct 31 2007 - 14:53:21 EDT