cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Does Cayenne require a reversed relationship?
Date Sat, 28 Mar 2009 19:00:55 GMT
3.0 does not require reverse relationships. It creates "auto reverse  
relationships" in runtime, however there are some outstanding bugs  
with this algorithm.

2.0 and earlier required reverse DbRelationships, and reverse to-many  
ObjRelationships. To-one could be one-way.

Andrus

On Mar 28, 2009, at 7:39 PM, Mike Kienenberger wrote:

> I don't know if it's true for Cayenne 3.0 -- that restriction may now
> be relaxed.
> However, it was true for Cayenne before 3.0.
>
> But in any case, you can delete the reverse object relationships from
> the model.  Those are not required.
>
>
> On Sat, Mar 28, 2009 at 12:41 PM, Joseph Schmidt
> <joseph_schmidt71@yahoo.com> wrote:
>>
>> Sorry, but I'm a confused now :).
>>
>>> It used to be true
>> and now it is no true anymore?
>> Or is this so jut for Cayenne3?
>>
>>> that the reverse
>>> db relationship was required, but
>>> the reverse obj relationship was not required.  From
>>> the application's
>>> point of view, it doesn't have to be there.
>> I'm doing reverse engineering so of existing DBs, so I'm not
>> editing the DB part since I'm not going to change the scheme.
>>
>> Thanks,
>> Joseph
>>
>>
>>
>>
>>
>>
>


Mime
View raw message