AW: AW: [OJB-developers] deleting objects from an m:n association
Brought to you by:
thma
From: Mahler T. <tho...@it...> - 2002-02-25 17:33:25
|
> -----Urspr=FCngliche Nachricht----- > Von: Ulrich Buettgen [mailto:ubu...@ya...] > Gesendet: Montag, 25. Februar 2002 16:26 > An: obj...@li... > Betreff: Re: AW: [OJB-developers] deleting objects from an m:n > association >=20 >=20 > Hi Thomas, > =20 > -snip- > > If you are using m:n mappings that are transparently=20 > mapped, you can't > > access the association as a separate entity. > > That's why it is called transparent. >=20 > Which is a very impressive feature! I'm using it in a way described = in > tutorial 3, section "Support for non-decomposed m:n mappings"=20 > as I'm not > interested in role information. >=20 > I can add Objects to an transparent association with a simple >=20 > person.getProjects().add( project); >=20 > What I'm looking for is the reverse thing (if the person no=20 > longer belongs > to the project): >=20 > person.getProjects().remove( project); >=20 > Do I have to give up transparency for this kind of operation? >=20 Yes ! You have to code it manually as explained in my previous mail. Thomas > TIA >=20 > Uli >=20 >=20 > __________________________________________________________________ >=20 > Gesendet von Yahoo! Mail - http://mail.yahoo.de > Ihre E-Mail noch individueller? - http://domains.yahoo.de >=20 > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers >=20 |