hi silvain,

if you need qualified relationship you have to decompose m:n into two 1:n
(have a look at person-role-project) in the testcases.

hth
jakob

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 3:50 PM
Subject: RE: OJB and recursive relationship


Hi Phil,

Thank you for your answer.
Is it also possible if you qualified this self reference (add information
about relation)?

For example if class A have a reference to another instance of class A and
this reference has information like reference_name or something like that.

Regards
Sylvain

-----Message d'origine-----
De: Phil Warrick [mailto:[EMAIL PROTECTED]]
Date: lundi, 16. d�cembre 2002 15:14
�: OJB Users List
Objet: Re: OJB and recursive relationship


Hi Sylvain,

OJB handles self references fine.  In other words class A can have a
reference to another instance of class A or a collection of class As.
You may need to make these proxies if the graph is very large and you
need to control the hits to the db.

Phil

[EMAIL PROTECTED] wrote:
> Hello,
>
> I have a situation with recursive relationship:
>
> I have a class Software that represents the softwares that could be
installed on my machine. Some of these softwares must have other softwares
installed before to be able to be installed.
> So, I have a recurvive relationship here.
>
> How do you implement this relationship with OJB?
>
> Thank you
> Sylvain
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to