Parameter | Type | Applicability | Description | Mandatory |
name | text | The name of the relation. For bidirectional relationships, specify the same name on both sides. | true | |
role-name | text | Name of the relationship role. | true | |
cascade-delete | text | Indicates whether or not the application server should perform cascade deletes. If yes, specify cascade-delete="yes". | false | |
target-ejb | text | Name of the EJB on the other side of the relation. Should only occur if the relation is unidirectional. | false | |
target-role-name | text | Name of the relationship role on the other side of the relation. Should only occur if the relation is unidirectional. | false | |
target-cascade-delete | text | Indicates whether or not the application server should perform cascade deletes for the other side of the relation. If yes, specify cascade-delete="yes". Should only occur if the relation is unidirectional. | false | |
target-multiple | text | If this EJB represents a "many" side of the other side of the relation, specify target-multiple="yes". If not, do not use this parameter, or specify target-multiple="no". Use this tag only if the relation is unidirectional. | false |
WebSphere-specific tags can be used in conjunction with @ejb-relation tags: