Re: Making changes in an EOModel

From: Chuck Hill (chil..lobal-village.net)
Date: Wed Mar 07 2007 - 17:54:57 EST

  • Next message: Brian Majewski: "Re: Making changes in an EOModel"

    Try cleaning and rebuilding the project.

    Chuck

    On Mar 7, 2007, at 2:41 PM, Brian Majewski wrote:

    > Greetings,
    >
    > Excuse my relative newness to WO- I'm glad this project is around
    > to help ease the learning curve.
    >
    > I created a project following the tutorials and everything is fine.
    > I added a simple EOModel that I reverse engineered from an existing
    > database.
    >
    > On one of my entities, I neglected to change the class name from
    > com.webobjects.eocontrol.EOGenericRecord to my specific class name.
    >
    > For the initial roundtrips of development it was fine, but as I
    > realized my mistake, I went back to the Entity Modeler perspective,
    > made the change, and re ran the EOGenerator step.
    >
    > Unfortunately, the application now complains that it can't find an
    > EOClassDescription for the new class. If I change the definition
    > back to EOGenericRecord, it resumes working.
    >
    > Any pointers would be appreciated.
    >
    >
    > Thanks,
    >
    > b
    >
    >

    -- 
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Wed Mar 07 2007 - 17:55:19 EST