3 Replies Latest reply on Mar 20, 2002 8:10 PM by dsundstrom

    One-to-Many Relationship with a Dependent Value Class

    alice_adler01


      I have an (EJB2.0 CMP) entity bean EmployeeBean. The employee has multiple addresses and I have represented "Address" as a dependent value class. Now I don't want to have the Address as an entity bean but still want to have a 1-to-many relationship between Employee and Address tables. Is there a standard way to achieve this in EJB2.0 (a dependent value class can't be the value of a cmr field)? Please advise.

      Thanks much.