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

From: Andrey Razumovsky (JIRA) ("Andrey)
Date: Tue Oct 14 2008 - 05:53:11 EDT

  • Next message: Andrey Razumovsky (JIRA): "[jira] Resolved: (CAY-457) Cayenne Naming and Sequence Generator Configuration"

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

    Andrey Razumovsky closed CAY-402.
    ---------------------------------

           Resolution: Fixed
        Fix Version/s: (was: UNDEFINED FUTURE)
                       3.0

    I hadn't got no feedback for a long time, so i'm closing now this issue (it was committed long ago).

    > Entity/Attribute/Relationship naming improvements on rverse-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.0
    >
    >
    > 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 : Tue Oct 14 2008 - 05:54:19 EDT