Re: to-many & List

From: Bill Dudney (bdudne..ac.com)
Date: Thu Jun 03 2004 - 13:04:34 EDT

  • Next message: Mike Kienenberger: "Re: to-many & List"

    Thanks Mike,

    I was really wondering about the to-many relationships that cayenne is
    building. So I have A->B and the relationship is to-many. Cayenne
    builds a List, the DB does not specify an order of B's so either
    Cayenne is just using whatever order the Bs come from the DB or its
    ordering them in some way.

    I'd assume its in whatever order they are coming from the DB but wanted
    to ask.

    Thanks again for all your help!

    -bd-

    On Jun 3, 2004, at 10:58 AM, Mike Kienenberger wrote:

    > Bill Dudney <bdudne..ac.com> wrote:
    >> Hi Andrus,
    >>
    >> Does Cayenne then assume some ordering or is it just the arbitrary
    >> order that comes from the db? Is it possible for me to specify the
    >> 'order by' key?
    >
    > Same methodology as in EOF.
    >
    > http://www.objectstyle.org/cayenne/userguide/fetch/orderings.html
    >
    >
    > You might also find this comparison between EOF and Cayenne useful.
    >
    > http://www.objectstyle.org/cayenne/userguide/misc.html



    This archive was generated by hypermail 2.0.0 : Thu Jun 03 2004 - 13:04:41 EDT