Re: wogen task

From: logan.allre..onvergys.com
Date: Tue May 18 2004 - 18:08:09 EDT

  • Next message: Andrus Adamchik: "Re: wogen task"

    This model does use inheritance. There are several entities that are
    abstract parent entities and do not have an external name set because of
    course there is no table for them. But all of the concrete child entities
    have external names properly set.

    So basically for each abstract parent entity there are 2 concrete child
    entities/tables that only differ by a few columns. I would assume that this
    is causing the problem.

    Thanks for your help.

    Logan

                                                                                                                               
                          Andrus Adamchik
                          <andru..bjectsty To: woproject-dev@objectstyle.org
                          le.org> cc:
                                                   Subject: Re: wogen task
                          05/17/2004 04:13
                          PM
                                                                                                                               
                                                                                                                               

    Hi Logan,

    Though the stack line numbers are pretty ancient, I am almost positive
    that the problem still exists in the latest code. Looks like one of the
    entities has no "externalName" key set for the table name. I'll open a
    bug in Cayenne, since class generator shouldn't really blow on this
    condition.

    For the time being, could you doublecheck your EOModel and fix it? This
    way you still will be able to use the old generator.

    Andrus

    On May 17, 2004, at 1:23 PM, logan.allre..onvergys.com wrote:
    > java.lang.NullPointerException
    > at
    > org.objectstyle.cayenne.wocompat.EOModelProcessor.makeRelationships(EOM
    > odelProcessor.java:285)
    > at
    > org.objectstyle.cayenne.wocompat.EOModelProcessor.loadEOModel(EOModelPr
    > ocessor.java:109)
    > at



    This archive was generated by hypermail 2.0.0 : Tue May 18 2004 - 18:08:21 EDT