Of course it makes a difference - consider the location and number of
foreign keys in each case.

On 2/10/03 6:34 pm, "Harkness, David" <[EMAIL PROTECTED]> wrote:

> Edward Kenworthy <mailto:[EMAIL PROTECTED]> once said:
>> This is a unidirectional 1:m so yes you do need a relationship table.
> 
> I have several unidirectional N:1 relations, but I have *zero* relation
> tables. Granted, they're N:1 and not 1:N, but I don't see how that would
> make any difference.
> 
> MailMessages ---1:N--> Users
> messageKey             ID
> ...                    messageKey
>                        ...
> 
> The only reason you should need to use a relation table is for N:M
> relations. Have I just lucked out in not choosing a uni 1:N? Does CMR
> truly require that you model your schema differently from normal? This
> seems 100% counter to one of the goals of EJB: being able to map entity
> beans to existing schemas.
> 
> Am I missing something?
> 
> David Harkness
> Sr. Software Engineer
> Sony Pictures Digital Networks
> (310) 482-4756
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to