Re: flattened relations intermediate table records not deleted with cascade

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Dec 23 2004 - 09:12:27 EST

  • Next message: Andrus Adamchik: "Re: flattened relations intermediate table records not deleted with cascade"

    > Hi everyone,
    >
    > I have a flattened relation for pages tree (Page -> Page_Child -> Page)
    > and a cascase delete rule works fine for deleting child pages for a
    > parent node but the records in Page_Child (with fields id, page_id,
    > child_page_id) remain. Is this a normal behaviour? I'd like these
    > records to be cleaned up too.
    >
    > Thank you.
    > Dmitry.

    Hi Dmitry,

    No this is not normal, and this actually worked for me in the past. Are
    you using 1.1 final? Also do you have Cascade delete rule setup both ways?
    If this is still a problem, could you please open a bug report, attaching
    your mapping and some sample code.

    Thanks
    Andrus



    This archive was generated by hypermail 2.0.0 : Thu Dec 23 2004 - 09:12:34 EST