Re: Generating EOs from an EOModel

From: Chuck Hill (chil..lobal-village.net)
Date: Fri Jun 06 2003 - 16:14:32 EDT

  • Next message: Andrus Adamchik: "Re: Generating EOs from an EOModel"

    Andrus Adamchik wrote:
    >>P.S. Does this imply that WOGen does not work well and that I should
    >>not bother with it?
    >
    >
    > What makes you think so. Have you actually tried it?
    >
    Yes, from within WOLips. It crashes right away (NPE I recall).
    Ulrich said that he never completed the integration with WOLips so
    that probably explains the crash. :-)

    > I am using WOGen exclusively for everything I was using eogenerator before
    > on those (few remaining) WO projects that I am involved with. I would like
    > to see more features in it, but this doesn't mean that is does not work.
    >
    Are you using it from within WOLips, or from a manual Ant build? If
    you've got it running from WOLips, I'd love to hear how.

    Pierre Bernard also noted some drawbacks to WOGen:
    http://objectstyle.org/woproject/lists/woproject-dev/2003/02/0003.html
    - Can't have entities that map no table
    - Can't have 2 entities mapping the same table (hence no horizontal
    inheritance)
    - Generates EOs for all entities in a model. E.g join tables too
    - can't have different entities from one model use different
    templates. E.g to have a different inheritance root replacing
    EOGenericRecord

    I can live the the last two, but the former are show stoppers. Do
    these conditions still exist?

    Chuck

    -- 
    

    Chuck Hill chil..lobal-village.net Global Village Consulting Inc. http://www.global-village.net

    Progress is the mother of all problems. - G. K. Chesterton



    This archive was generated by hypermail 2.0.0 : Fri Jun 06 2003 - 16:09:48 EDT