Re: Solved: problem with flattened relationship

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Feb 09 2004 - 01:23:40 EST

  • Next message: Tore Halset: "Re: 1.1-cache and multiple DataDomains with the same name"

    Hi Steve,

    On Feb 8, 2004, at 6:29 AM, Steve Steinitz wrote:

    > the DbEntity relationships to AB, defined in A and B have
    > 'To Dep PK' checked.
    >
    > the ObjEntity to-many relations from A to B and B to A have
    > Delete Rule = Cascade

    I was actually thinking about NULLIFY rule that works across flattened
    relationship by deleting a join record. Could you confirm that this
    didn't work for you?

    > I was relieved to learn that 'the cascade stops' at the join table:
    > ie. removing a 'B' from an 'A' removes the join table entry but not
    > the 'B' itself.

    Hmm... I would expect CASCADE go all the way... If what you say is
    correct, this may actually be a bug. Need to look at it some more.

    Andrus



    This archive was generated by hypermail 2.0.0 : Mon Feb 09 2004 - 01:23:44 EST