[OS-JIRA] Created: (CAY-198) Deletion of objects in flattened relationships

From: jir..bjectstyle.org
Date: Sun Oct 03 2004 - 11:49:46 EDT

  • Next message: jir..bjectstyle.org: "[OS-JIRA] Created: (CAY-199) Multiple links to a multi-attribute pk table do not get imported correctly"

    Message:

      A new issue has been created in JIRA.

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

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

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-198
        Summary: Deletion of objects in flattened relationships
           Type: Bug

         Status: Assigned
       Priority: Major

        Project: Cayenne
     Components:
                 Cayenne Core Library
       Fix Fors:
                 1.1
       Versions:
                 1.1

       Assignee: Andrus Adamchik
       Reporter: Andrus Adamchik

        Created: Sun, 3 Oct 2004 11:49 AM
        Updated: Sun, 3 Oct 2004 11:49 AM
    Environment: PostgreSQL, Cayenne 1.1 B3

    Description:
    Originally reported by Michele Cuozzo - http://objectstyle.org/cayenne/lists/cayenne-user/2004/09/0085.html

    There are a few cases when a join record in flattened relationship is not deleted when an object on one side is deleted. Lets assume a simple many-to-many flattened relationship with a join table.

    1. [OK] Delete rule - NULLIFY, reverse flattened ObjRelationship exists.

    2. [Join record is not deleted] Delete rule - CASCADE, reverse flattened ObjRelationship may or may not exist.

    2. [Join record is not deleted] Delete rule - NULLIFY, reverse flattened ObjRelationship does not exist.

    ---------------------------------------------------------------------
    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 : Sun Oct 03 2004 - 11:49:48 EDT