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