that's what i'm looking for. thanks.
---- Original Message ----
From: Anil Kona <Ani...@mo...>
Sent: 2002-05-14
To: tr...@th..., obj...@so...
Subject: RE: AW: [OJB-developers] Relationships in objects/data
sorry..
this one has complete examples on 1:n and M:N
=20
http://objectbridge.sourceforge.net/tutorial3.html
=20
-Anil
=20
=09-----Original Message-----=20
=09From: tr...@th... [mailto:tr...@th...]=20
=09Sent: ????. 14-05-2002 07:56=20
=09To: obj...@so...=20
=09Cc:=20
=09Subject: RE: AW: [OJB-developers] Relationships in objects/data
=09
=09
=09What would you put in repository.xml for the java.util.List?
=09
=09Travis
=09
=09---- Original Message ----
=09From: =3D?iso-8859-1?Q?=3D22Spr=3DE4ner=3D2C_Carsten=3D22?=3D <Carsten.S=
pr...@vi...>
=09Sent: 2002-05-14
=09To: tr...@th...
=09Subject: AW: [OJB-developers] Relationships in objects/data
=09
=09That's what OJB is made for!
=09
=09-----Urspr=FCngliche Nachricht-----
=09Von: tr...@th... [mailto:tr...@th...]
=09Gesendet: Dienstag, 14. Mai 2002 06:34
=09An: obj...@so...
=09Cc: obj...@so...
=09Betreff: [OJB-developers] Relationships in objects/data
=09
=09How does OJB handle things like:
=09
=09public class Person
=09{
=09 String Name;
=09 Address myAddress;
=09}
=09
=09public class Address
=09{
=09 String street1;
=09 String street2;
=09 String city;
=09 String state;
=09 String zip;
=09}
=09
=09Would the address instance in a person instance be persistent if you sto=
red
=09the person instance?
=09
=09Or what if that person class looked like this:
=09
=09public class Person
=09{
=09 String Name;
=09 java.util.List addresses; // list of address objects
=09}
=09
=09Does ojb have any way of dealing with that?
=09
=09Travis Reeder
=09Chief Software Architect
=09www.ThinkVirtual.com
=09
=09
=09_______________________________________________________________
=09
=09Have big pipes? SourceForge.net is looking for download mirrors. We supp=
ly
=09the hardware. You get the recognition. Email Us: bandwidth@sourceforge.n=
et
=09_______________________________________________
=09Objectbridge-developers mailing list
=09O...@li...
=09https://lists.sourceforge.net/lists/listinfo/objectbridge-developers
=09
=09
=09
=09_______________________________________________________________
=09
=09Have big pipes? SourceForge.net is looking for download mirrors. We supp=
ly
=09the hardware. You get the recognition. Email Us: bandwidth@sourceforge.n=
et
=09_______________________________________________
=09Objectbridge-developers mailing list
=09O...@li...
=09https://lists.sourceforge.net/lists/listinfo/objectbridge-developers
=09
|