0 Replies Latest reply on Dec 6, 2002 4:19 PM by nat

    What XDoclet tags do i need for CMR in JBOSS3.0.2

    nat Newbie

      Hi,
      Supposing I have a one to one relationship
      Person - Address
      what are the tags needed to implement this relationship using CMR, and where do they get placed ?

      currently I have this in the Person's method level comment for getAddress:
      * @ejb:persistent-field
      * @jboss:column-name name="Address"
      * @ejb:relation name="person-address"
      * role-name="person-has-address"
      * target-ejb="myproject/Address"

      But do I need any @jboss tags ?
      And what about in Address, do I need to put any tags? Or is that only if it is bidirectional?

      THanks in advance
      s3ma4