Re: Generating EOs from an EOModel

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Jun 06 2003 - 22:45:41 EDT

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

    >> 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.

    Before I was using it mostly from command line. Now I tried it from WOLips
    (WOLips perspective, Ant tab) - and it worked, but see more comments
    below...

    > Pierre Bernard also noted some drawbacks to WOGen:
    > http://objectstyle.org/woproject/lists/woproject-dev/2003/02/0003.html

    Unfortunately those were not reported as bug via bug tracker in neither
    Cayenne nor WOProject. Now that I looked at it I was able to fix those
    items that were indeeed bugs. The changes are in CVS.

    > Can't have entities that map no table

    fixed today

    > - Can't have 2 entities mapping the same table (hence no horizontal
    > inheritance)

    fixed today

    > - Generates EOs for all entities in a model. E.g join tables too

    Map such entities to EOGenericRecord, and they will be skipped (this was
    reported as a bug earlier, and fixed some time back)

    > - can't have different entities from one model use different
    > templates. E.g to have a different inheritance root replacing
    > EOGenericRecord

    This is not supported. I guess eventually we may add template
    customization based on an entity name pattern.

    ;-)

    Andrus



    This archive was generated by hypermail 2.0.0 : Fri Jun 06 2003 - 22:45:42 EDT