Re: Making changes in an EOModel

From: Brian Majewski (bria..ite9.com)
Date: Wed Mar 07 2007 - 18:13:33 EST

  • Next message: Pierre Frisch: "Re: Moving pages/components out of default packages for WebObjects 5.2.4"

    When defining it I left it blank, so it extends EOGenericRecord, as
    do the other _Classes that EOGenerator created.

    On Mar 7, 2007, at 3:09 PM, Mike Schrag wrote:

    > 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:14:01 EST