1 Reply Latest reply on Mar 7, 2002 6:54 AM by Andreas Schouten

    More than one relation between two entities (in EJB 2.0 CMP)

    Claude Newbie

      Hi

      Is it possible to have more than one relation between two entities?
      Example:
      In my system, I have the entity "Anomaly".
      Each anomaly is logged by an enginneer.
      Each anomaly has an engineer who is responsible for solving the problem.
      And each anomaly may have been solved by an engineer.
      I see these relations as three "one to many" relations between Anomaly and Engineer. Is it possible with EJB 2.0 CMP or do I have to change my design?

      Thanks in advance
      Claude