Re: Making changes in an EOModel

From: Mike Schrag (mschra..dimension.com)
Date: Wed Mar 07 2007 - 18:09:21 EST

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

    What is the superclass of your _Whatever class?

    On Mar 7, 2007, at 5:59 PM, Brian Majewski wrote:

    > 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:10:31 EST