Re: relationship with qualifier...?
Ricardo Strausz <[email protected]> Fri, 16 May 2003 16:38:30 -0500
| Newsgroups | gmane.comp.web.webobjects.eof |
|---|---|
| Message-ID | <[email protected]> |
I am not sure if this can be done inside EOModeler, but by code it is as ease as use setAuxiliarQualifier() in the table B. Hope it help On viernes, mayo 16, 2003, at 15:05 America/Mexico_City, Thomas Ganter wrote: > Hi everybody! > > Perhaps I am too dumb, but I cannot get the following working: > > I have two entities, and one (say B) has a to-many-relationship with > another one (say A). > > > A 1-------n B > > A has a relationship 'toB' which returns an array of B. > > There is a property 'b' within B which holds certain values, amongst > which is "latest". Now I want to configure a relationship inside A > with name "toLatestB", which should work like 'toB', buth should use > (as an additional qualifier) "B.b='latest'". > > I know this can be done, but I tried subclassing and everything and > still do not have a clue. > > Can anyone help me here? > > - Thomas > > _______________________________________________ > EOF mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/eof > Dino http://homepage.mac.com/strausz