Re: AW: [OJB-developers] deleting objects from an m:n association
Brought to you by:
thma
From: <ubu...@ya...> - 2002-02-25 15:26:10
|
Hi Thomas, -snip- > If you are using m:n mappings that are transparently mapped, you can't > access the association as a separate entity. > That's why it is called transparent. 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" as I'm not interested in role information. I can add Objects to an transparent association with a simple person.getProjects().add( project); What I'm looking for is the reverse thing (if the person no longer belongs to the project): person.getProjects().remove( project); Do I have to give up transparency for this kind of operation? TIA Uli __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Ihre E-Mail noch individueller? - http://domains.yahoo.de |