Re: Re: Transition from EOF to Cayenne

From: Michael Gentry (blacknex..mail.com)
Date: Tue Oct 31 2006 - 14:13:21 EST

  • Next message: Joshua Pyle: "Re: SQLTemplate not returning all columns?"

    If the EOModel has custom types, it won't import into Cayenne Modeler.

    /dev/mrg

    On 10/31/06, Mike Kienenberger <mkienen..mail.com> wrote:
    > On 10/30/06, Dov Rosenberg <drosenber..nquira.com> wrote:
    > > We are looking to consolidate our code bases between our Cayenne based web
    > > services and our WebObjects/EOF based applications. Has anyone written any
    > > transition classes or notes of things that they did to help the code
    > > porting? We have 2 separate models but we need to deal with NSArrays,
    > > NSData, DisplayGroups, etc. We use Eclipse so making mass changes isnšt too
    > > scary. Any thoughts or guidelines would be very helpful. We are not ready to
    > > replace our WebObjects components yet ­ that is another project.
    >
    > It was mostly just a find-and-replace session when I did it four?
    > years ago. I converted everything, though -- I didn't convert only
    > the EOF part.
    >
    > For the EOF part, it was an easy transition. Load the model into the
    > Cayenne model and save it out again. For java, change the class and
    > method names names and delete the .lock() statements :-)
    >
    > The biggest pain was switching between NSDictionary and Map: the
    > arguments are reversed for the put() method.
    >



    This archive was generated by hypermail 2.0.0 : Tue Oct 31 2006 - 14:13:48 EST