> -Original Message-
> From: Mahler Thomas
> Sent: Tuesday, December 16, 2003 2:10 PM
> To: 'Stefan Schlösser'
> Subject: RE: Unusual object relation mapping possible with OJB ?
>
>
> Hi Stephan,
>
> >
> > Hi Thomas,
> >
&
Hi Thomas,
Sure, I need the link table.
I read throught the examples in the link you gave before posting, my
problem is that I do not have and don't want to make the relationship
explicit on the object level. I.e. Persons or Address do NOT have a
collection pointing to the other type. The collec
Hi Stefan,
What you describe is in essence a m:n association between Address and
Person.
A Person may have multiple Adresses
An Address may have multiple Persons associated.
Apart from the tables ADDRESS and PERSON you also need an intermediary table
LINK
OJB provides out of the box support for
Hi,
I would like to know how to describe the following relations in the
repository.xml.
class Address{ //no reference to Person
static long type = 1;
long id;
String streetName;
}
class Link{ //links Persons and address by id and type
long sourcetype;
long sourceid;
long targettype;
long