Re: How to model many-to-many relationship with self?

From: James A. Hillyerd (jame..illyerd.com)
Date: Fri Dec 10 2004 - 13:00:45 EST

  • Next message: James A. Hillyerd: "Re: How to model many-to-many relationship with self?"

    Hi Jürgen,

    The structure I'm trying to model isn't a tree so in my case a child may
    have many parents.

    The only flattened relationship I need is the children (and possibly
    parents) of a Node, I just don't want to have to access a NodeMap object
    directly to discover them.

    Thanks.

    -james

    Jürgen Saar wrote:
    > First I have a question:
    >
    > Are you sure that it has to be many-to-many ?
    >
    > If you have a tree-structure
    > parent --> child is 1-to-many
    > and
    > child --> parent is 1-to-1
    >
    > Second question:
    >
    > what flattened relationships do you need?
    > Grandchild?
    > Grandparent?
    >
    >

    -- 
    James A. Hillyerd <jame..illyerd.com>
    Java Software Engineer - ActiveRain.com
    



    This archive was generated by hypermail 2.0.0 : Fri Dec 10 2004 - 13:00:49 EST