[OS-JIRA] Created: (CAY-73) number of possible relationships in modeler is less then needed

From: jir..bjectstyle.org
Date: Wed Jan 07 2004 - 16:33:45 EST

  • Next message: Andrus Adamchik: "Re: Object Graph Refreshing: design ideas?"

    Message:

      A new issue has been created in JIRA.

    ---------------------------------------------------------------------
    View the issue:

      http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-73

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-73
        Summary: number of possible relationships in modeler is less then needed
           Type: Improvement

         Status: Assigned
       Priority: Minor

        Project: Cayenne
     Components:
                 CayenneModeler GUI
       Versions:
                 1.0 [STABLE]

       Assignee: Andrus Adamchik
       Reporter: viktor doernberg

        Created: Wed, 7 Jan 2004 4:31 PM
        Updated: Wed, 7 Jan 2004 4:31 PM

    Description:
    Hi all,

    when I want ta add a relationship to an object entity I get some prepared in
    the listbox in the modeler. But the one I need is not in the list.

    In the sources I have seen, that some possible relationships are deleted from
    view with the comment they would be "absurd", and the metric is : they are longer then shortest + 2 (ChooseDbRelationshipDialog.java).

    What is the reason for taking "2" and isn't it better to let them be longer
    and only to sort the shortest (in most cases the needed) on top?

    Example:

    mandant-->>client -->> projects -->> tasks -->>budgets

    every obj. has a relationship toCreator it is  1:1 and maps to user

    so every relationship of

    mandant-->USER
    mandant-->>client -->USER
    mandant-->>client -->> projects -->USER
    mandant-->>client -->> projects -->> tasks -->USER
    mandant-->>client -->> projects -->> tasks -->>budgets->USER

    can be used,
    but only the first 3 are shown.

    Thanks for answers and for your great work at cayenne

    Viktor Doernberg

    PS. this message was sent first time dec 2, but it didn't appear in the list
    ,so I do resend it

    ---------------------------------------------------------------------
    JIRA INFORMATION:
    This message is automatically generated by JIRA.

    If you think it was sent incorrectly contact one of the administrators:
       http://objectstyle.org/jira/secure/Administrators.jspa

    If you want more information on JIRA, or have a bug to report see:
       http://www.atlassian.com/software/jira



    This archive was generated by hypermail 2.0.0 : Wed Jan 07 2004 - 16:33:46 EST