Re: Cayenne vs EOF: How to questions?

From: Bryan Lewis (brya..aine.rr.com)
Date: Thu Feb 10 2005 - 18:37:09 EST

  • Next message: Mike Kienenberger: "Re: newbie with Quick Start > Tapestry Tutorial"

    Cayenne vs EOF: How to questions?On the first question, I'm currently converting several old apps from WebObjects 4.5 to Cayenne and have had no trouble keeping our old flattened relationships. See the user's guide:

    http://objectstyle.org/cayenne/modelerguide/modeling-object-layer/flattenedrel.html

      ----- Original Message -----
      From: Dov Rosenberg
      To: cayenne-use..bjectstyle.org
      Sent: Thursday, February 10, 2005 5:52 PM
      Subject: Cayenne vs EOF: How to questions?

      A few questions on the capabilities of Cayenne as compared to Apple EOF

        1.. Does Cayenne support flattened relationships like EOF? If so, what is the equivalent?
        2.. I understand that Cayenne does not currently support EOPrototypes to make it easier to switch between databases, what is the Cayenne preferred method for supporting multiple databases? Seems like it has something to do with DataMaps. Not sure though
        3.. How can I programmatically swap out my connection dictionary at application startup? I.e. Allow me to store userid/password in separate file from the cayenne.xml and update them when the app starts up.
        4.. Is there a hook for generating primary keys on the client side similar to what we currently do with a DatabaseContextDelegate and our own guid generator?
        5.. Is there any Cayenne support for doing lightweight, high volume SQL processing (i.e. For batch updates)? EOF has too much overhead for large amounts of sql processing in batch mode. Ideally a smarter version of RawRowsForSQL that doesn't create all the objects in an object graph.

      Thanks in advance.

      --
      Dov Rosenberg
      Conviveon Corporation
      http://www.conviveon.com



    This archive was generated by hypermail 2.0.0 : Thu Feb 10 2005 - 18:37:21 EST