Re: prefetch & many-to-many

From: Mike Kienenberger (mkienen..laska.net)
Date: Fri Nov 07 2003 - 09:48:50 EST

  • Next message: Bret Gregory: "Searching Object Cache"

    Tore Halset <halse..vv.ntnu.no> wrote:
    > This will lead to one query on Group and lots of queries on Element. I
    > want cayenne to perfom one query and use join to include all elements for
    > all of the groups. Is it possible?

    Well, according to

    http://www.objectstyle.org/cayenne/userguide/perform/prefetching.html

    what you are asking for should work in two queries, so my previous comment
    was wrong.

    You'll have to wait for an answer from someone with a better understanding
    of Cayenne prefetching than I.

    -Mike



    This archive was generated by hypermail 2.0.0 : Fri Nov 07 2003 - 09:48:48 EST