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

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873691#3873691

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873691


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to