Thank you for your answer, Mikko.

Well, to describe it in your words: Is it possible to create a 1-N
relationship where several objects on the 1-side refer to the same object on
the N-side.
The reason I am asking is the EJB specification. It states that in a 1-N
relationship, an object on the N-side can only be refered to by *a single*
object on the 1-side. If an object on the N-side is told to refer to an
object on the 1-side which some other object on the N-side is already
refering to, that other object will have its relationship removed.

>From knowing that there is a relational database underneath all of this, I
assume this constraint only counts for bidirectional relationships... but I
have not heard anyone confirm this. Does everybody have the same assumption
here?


Yours

Randahl

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mikko
Kurki-Suonio
Sent: 26. februar 2001 06:28
To: Orion-Interest
Subject: Re: I know it does NOT work... but does it ???


On Sat, 24 Feb 2001, Randahl Fink Isaksen wrote:

> I know bidirectional N-M relationships are said not to work... but does
> unidirectional N-M relationships work on Orion? - On which version?

Well, I don't quite see what you mean by unidirectional N-M.

If you can't trace the link backwards, it's really just a bunch of 1-N's
(which do work).

//Mikko



Reply via email to