Hello,
I work with JBoss 3.2.3.
1. Question about CMR (jbosscmp-jdbc.xml file): what is the default behaviour if there is no <key-fields> tag inside an ejb-relation-role
- with a <foreign-key-mapping />
- with a <relation-table-mapping>
For example with <foreign-key-mapping /> (a one to many relation; one job for many employees); this code had been generated by a JBuilder open tool:
<ejb-relation> <ejb-relation-name>employee-job</ejb-relation-name> <foreign-key-mapping /> <ejb-relationship-role> <ejb-relationship-role-name>EmployeeRelationshipRole</ejb-relationship-role-name> </ejb-relationship-role> <ejb-relationship-role> <ejb-relationship-role-name>JobRelationshipRole</ejb-relationship-role-name> </ejb-relationship-role> </ejb-relation>