|
|  |
Relations between entity beans are configured in the <relations>
block.
<ejb-jar>
<enterprise-beans>
<entity>
...
</entity>
</enterprise-beans>
<relationships>
<ejb-relation>
...
</ejb-relation>
</relationships>
</ejb-jar>
|
| cmr-field | The name of the relation field for entity bean |
| ejb-name | The name of the entity bean that the relation belongs to |
ejb-name
The name of the entity bean that the relation belongs to.
Each of the <ejb-relationship-role> tags has an ejb-name.
cmr-field
The name of the relation field for entity bean.
The source bean must have a cmr-field, while the target bean
will only have a cmr-field if it has a corresponding Java method.
Copyright © 1998-2006 Caucho Technology, Inc. All rights reserved.
Resin® is a registered trademark,
and HardCoretm and Quercustm are trademarks of Caucho Technology, Inc. | ![]() |
|