1 Reply Latest reply on Dec 16, 2001 2:49 PM by haytona

    Referential integrity

    jlglez

      Hello!

      I'm starting with JBoss. I'm developing some examples of entity beans and I'm happy with jboss.

      But now I want to have two entity beans (ABean and BBean), and I want ABean had a foreign key to BBean.

      Can anyone help me? I don't know how to configure this.

      Thanks in advance

      Jose Luis Gonzalez Torralba

        • 1. Re: Referential integrity
          haytona

          try this:
          www.geocities.com/haytona/reltut

          I think you may need to modify it slightly to run on jboss 2.4.x as it uses InstantDB just edit the jaws.xml file.

          It shows a way of making relationshipos between CMP 1.1 beans