Re: Does Cayenne require a reversed relationship?

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Sat Mar 28 2009 - 15:00:55 EDT

  • Next message: Andrey Razumovsky: "Re: Serialization and de-serialization or ROP objects"

    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_schmidt7..ahoo.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
    >>
    >>
    >>
    >>
    >>
    >>
    >



    This archive was generated by hypermail 2.0.0 : Sat Mar 28 2009 - 15:01:27 EDT