You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Ari Maniatis (JIRA)" <de...@cayenne.apache.org> on 2008/11/08 01:18:11 UTC

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

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