While Cayenne will traverse that path, it's unnecessary.  I think
allowing such mapping introduces more confusion than anything else and
such mapped relationships are normally an error than anything else.
As such, I proposed not allowing the relationship path dialog to grow
unbounded with such loops.

NB: this does not affect the general case of relationship mapping.

-- 
Kevin



On Tue, Nov 18, 2008 at 9:02 AM, Andrus Adamchik <[EMAIL PROTECTED]> wrote:
> Hmm... not that I ever mapped a flattened relationship like that myself, but
> technically this is totally valid:
>
> ObjRelationship: Painting.peerPaintings
>
>   mapped as
>
> DbRelationship Path: PAINTING.toArtist.paintings
>
> Andrus
>
>
> On Nov 18, 2008, at 3:49 PM, Andrey Razumovsky wrote:
>
>> A -> B -> A is culled (B -> A will not be shown) when relationships are
>> reverse to each other & A -> B is to-one (e.g. paintings -> Artist ->
>> paintings)
>>
>> 2008/11/18, Andrus Adamchik <[EMAIL PROTECTED]>:
>>>
>>>
>>> On Nov 18, 2008, at 3:33 PM, Kevin Menard wrote:
>>>
>>> I only was able to play with culling briefly, but it
>>>>
>>>> looks to be cutting down my choices considerably, which is good.
>>>>
>>>
>>> BTW, what's this about? Looks like I missed something.
>>>
>>> Andrus
>>>
>>>
>
>

Reply via email to