[jira] Updated: (CAY-402) Entity/Attribute/Relationship naming improvements on reverse-engineering

From: Ari Maniatis (JIRA) ("Ari)
Date: Fri Nov 07 2008 - 19:18:11 EST

  • Next message: Ari Maniatis (JIRA): "[jira] Updated: (CAY-436) In modeler, change default object relationship delete rule"

         [ https://issues.apache.org/cayenne/browse/CAY-402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Ari Maniatis updated CAY-402:
    -----------------------------

        Fix Version/s: (was: 3.0)
                       3.0M5
              Summary: Entity/Attribute/Relationship naming improvements on reverse-engineering (was: Entity/Attribute/Relationship naming improvements on rverse-engineering)

    > Entity/Attribute/Relationship naming improvements on reverse-engineering
    > ------------------------------------------------------------------------
    >
    > Key: CAY-402
    > URL: https://issues.apache.org/cayenne/browse/CAY-402
    > Project: Cayenne
    > Issue Type: Improvement
    > Components: Cayenne Core Library, CayenneModeler GUI
    > Affects Versions: UNDEFINED FUTURE
    > Reporter: Andrus Adamchik
    > Assignee: Andrey Razumovsky
    > Fix For: 3.0M5
    >
    >
    > Users should be given some flexibility when it comes to default names generated during reverse engineering. E.g. there were requests to automatically change plural form to singular ("product_groups" -> "ProductGroup"). There maybe other user-specific cases for transforming DB name to Java name.
    > Suggested solution was to allow entering regex-based rules in the Modeler:
    > http://objectstyle.org/cayenne/lists/cayenne-user/2005/11/0104.html
    > Another related request suggested to have an option for naming relationships using attribute names instead of target entity names. This may also be one of the rules:
    > http://objectstyle.org/cayenne/lists/cayenne-user/2005/11/0106.html
    > Another suggestion by Cris - store the rules in DataMap for possible reverse engineering with Ant. This should allow model synching directly against the database (but would of course require a special Ant task)

    -- 
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
    



    This archive was generated by hypermail 2.0.0 : Fri Nov 07 2008 - 19:19:14 EST