1 Reply Latest reply on Aug 13, 2002 12:20 AM by Dain Sundstrom

    CMR with relationship to the same EJB object.

    Eric Chow Newbie


      Is it possible to make a relationship to the same EJB object?

      For example, as in a tree structure.

      .......| --> a1 ---> aa1 --> aa2
      ROOT -
      .......|--> b1 ---> bb1

      As seen as above, ROOT is a TreeNode, a1, aa1, aa2, b1, bb1 are also TreeNode(s).

      In fact, a TreeNode has many other TreeNode(s).
      A TreeNode belongs only one parent TreeNode.

      Is it possible to define the relationship as above ?

      Best regards,