Re: Having two relationships between same two tables

From: Cris Daniluk (cris.danilu..mail.com)
Date: Tue Apr 05 2005 - 12:17:27 EDT

  • Next message: Dirk Wellmann: "Cayenne with INFORMIX SE and Dynamic Server"

    There's absolutely no reason why you can't do this - just create the
    second relationship in the DbEntity, but be sure to select the right
    fields to connect the tables.

    On Apr 5, 2005 12:04 PM, Dhruti Ramani <dhrutiraman..ahoo.com> wrote:
    > Hello All,
    > I am Denna Ramani. I am getting familiar with Cayenne. I really like this
    > software.
    >
    > We are using postgresql database right now.In one of our project, we need
    > two relations between same two tables. For example, we have "Deal" and
    > "Quote" objects. And relations are, "Deal" can have many "Quotes" but "Deal"
    > has one"AcceptedQuote". "AcceptedQuote" is one of from many
    > Quotes that Deal has. Do you have any idea about how one can do this?
    >
    > Thanks,
    > Denna
    >
    > ________________________________
    > Yahoo! Messenger
    > Show us what our next emoticon should look like. Join the fun.
    >
    >



    This archive was generated by hypermail 2.0.0 : Tue Apr 05 2005 - 12:17:29 EDT