Re: To Dep PK

From: Mike Kienenberger (mkienen..mail.com)
Date: Thu Sep 01 2005 - 18:58:26 EDT

  • Next message: Mike Kienenberger: "Re: To Dep PK"

    I'm seeing the same behavior by creating a simple CHILD_ID/PARENT_ID DbEntity.
    It seems to get set this way once you inspect the toParent
    relationship a second time, and then hit done.

    Once it's set you can't unset it, and it also seems backward to me as well.

    On 9/1/05, Gili <cowwo..bs.darktech.org> wrote:
    >
    > Given a table Theme with columns "id" which is the primary key and
    > "parent" which is a FK which points to the parent theme.
    >
    > I'm trying to understand why Cayenne says that "toParent" which is a
    > relationship which maps from Theme.parent to Theme.id has "to dep pk"
    > enabled. Doesn't this imply that the parent theme is dependant on the
    > current theme and by extension if the current theme is removed, the
    > parent theme can't exist without it...? This seems to be wrong to me.
    > Can someone please explain?
    >
    > Thanks,
    > Gili
    > --
    > http://www.desktopbeautifier.com/
    >



    This archive was generated by hypermail 2.0.0 : Thu Sep 01 2005 - 18:58:27 EDT