> [mailto:[EMAIL PROTECTED]]On Behalf Of Hemant Khandelwal
> According to the proposed sheme of thing by Mr Bartek, the database schema
> for Order bean and address will be like this :
>
> Order Table : orderId + other fields
> Address Table : addressId + other fields
>
> OrderAddressJoin Table : fkOrderId, fkAddressId --> where fkOrderId and
> fkAddressId are foreign keys to the two table.
No, we have two relationships here, not one. We need
to either keep in the OrderAddressJoinTable relationship
id, or have two relationship tables.
Regards, Bartek
--
This transmission is for the intended addressee only and is confidential
information. If you have received this transmission in error, please
delete it and notify the sender. The contents of this e-mail are the
opinion of the writer only and are not endorsed by Mincom Limited unless
expressly stated otherwise.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".