(CAY-362) Delete orphans

From: Gili (cowwo..bs.darktech.org)
Date: Sun Sep 04 2005 - 14:33:17 EDT

  • Next message: Andrus Adamchik: "Re: (CAY-362) Delete orphans"

            Just to be clear, what currently happens if cascade is set to "delete"?
    Does Cayenne try deleting the row only to find out it can't and then
    throw an exception?

    Thanks,
    Gili

    jira-norepl..bjectstyle.org wrote:
    > The following issue has been updated:
    >
    > Updater: Andrus Adamchik (mailto:andru..bjectstyle.org)
    > Date: Sun, 4 Sep 2005 1:06 AM
    > Comment:
    > interesting idea, but not now... Unless there are volunteers, as usual.
    > Changes:
    > priority changed from Major
    > Fix Version changed to AFTER 1.2
    > ---------------------------------------------------------------------
    > For a full history of the issue, see:
    >
    > http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-362&page=history
    >
    > ---------------------------------------------------------------------
    > View the issue:
    >
    > http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-362
    >
    >
    > Here is an overview of the issue:
    > ---------------------------------------------------------------------
    > Key: CAY-362
    > Summary: Delete orphans
    > Type: New Feature
    >
    > Status: Assigned
    > Priority: Minor
    >
    > Project: Cayenne
    > Components:
    > Cayenne Core Library
    > Fix Fors:
    > AFTER 1.2
    > Versions:
    > 1.2 [DEV]
    >
    > Assignee: Andrus Adamchik
    > Reporter: Gili Tzabari
    >
    > Created: Thu, 1 Sep 2005 6:57 PM
    > Updated: Sun, 4 Sep 2005 1:06 AM
    >
    > Description:
    > Given:
    >
    > object A depends on object B.
    > a single object B may be shared by multiple objects A
    >
    > we should be able to set a delete rule "delete orphans" such that when the last dependant object A is removed, its associated object B is removed as well.
    >
    >
    > ---------------------------------------------------------------------
    > 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
    >
    >

    -- 
    http://www.desktopbeautifier.com/
    



    This archive was generated by hypermail 2.0.0 : Sun Sep 04 2005 - 14:33:16 EDT