[OS-JIRA] Created: (CAY-437) Modeler primary key/foreign key id auto removals from objects

From: jira-norepl..bjectstyle.org
Date: Wed Feb 01 2006 - 04:15:37 EST

  • Next message: Ahmed Mohombe: "Re: Cayenne performance testing"

    Message:

      A new issue has been created in JIRA.

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

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

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-437
        Summary: Modeler primary key/foreign key id auto removals from objects
           Type: Improvement

         Status: Assigned
       Priority: Major

        Project: Cayenne

       Assignee: Andrus Adamchik
       Reporter: weidox

        Created: Wed, 1 Feb 2006 4:14 AM
        Updated: Wed, 1 Feb 2006 4:14 AM
    Environment: winxp M7

    Description:
    I found it unconventional, that, using synchronize deletes properties from object, which reflect primary/foreign keys. In general, it is a good idea to delete them by default, but not when they are artificially created. So I thought what could be done here without modifying .xml files, and came to 2 things, which should improve the situation.
    First, when working, modeler should wathch if object property was created "by hand". If so, it should be marked as not to be deleted automatically.
    Second, if xml files are loaded, modeler should check for object properties, which reflect these primary/foreign keys, and mark them to be not auto-deleted.

    ---------------------------------------------------------------------
    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 Feb 01 2006 - 04:15:38 EST