This content has been marked as final.
Show 1 reply
-
1. Re: How to specify this relation using jbosscmp-jdbc/xdoclet
lsloh Apr 3, 2003 5:09 AM (in response to lsloh)Sorry didn't preview, and the diagrams didn't come out right.
customer (1) ------ (n) contact
Contact has a "type" field to denote the type of contact e.g. shipping, billing, etc
Tables are
customer --- contact_customer --- contact
where contact_customer has fields (contact id, customer id and contact type).
Thanks.