Re: Making changes in an EOModel

From: Brian Majewski (bria..ite9.com)
Date: Wed Mar 07 2007 - 17:59:28 EST

  • Next message: Mike Schrag: "Re: Making changes in an EOModel"

    No change. This is in a workspace where it is the only project as well.

    On Mar 7, 2007, at 2:54 PM, Chuck Hill wrote:

    > 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 - 18:00:12 EST