Hi,
I think the jbosscmp-jdbc.xml in chapter 7 is not correct because it have to declare some rrelations of the entity beans like below:
<ejb-relation>
<ejb-relation-name>Customer-Address</ejb-relation-name>
<foreign-key-mapping/>
<ejb-relationship-role>
<ejb-relationship-role-name>Customer-has-a-Address</ejb-relationship-role-name>
<key-fields/>
</ejb-relationship-role>
<ejb-relationship-role>
<ejb-relationship-role-name>Address-belongs-to-Customer</ejb-relationship-role-name>
<key-fields>
<key-field>
<field-name>id</field-name>
<column-name>address_id</column-name>
</key-field>
</key-fields>
</ejb-relationship-role>
</ejb-relation>
If so, where can I get the correct one?
Thanks
the workbook version is 4