posted 21 years ago
I am not sure why you would need to define two <ejb-relation> elements. For examples, I have one Customer bean related to many Address beans. In ejb-jar.xml, I have defined <ejb-relation> element as follows:
Now I like to know how you define the above relationship in weblogic-cmp-rdbms-jar.xml. The table for CustomerBean is CUSTOMER with CUSTOMER_ID as the primary key. The table for AddressBean is ADDRESS with CUSTOMER_ID and ADDRESS_TYPE as compound primary keys.
I hope I explained my problem clearly. Please help. Thanks.