cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Stan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAY-1357) Prefix removal when reverse engineering table and column names.
Date Sun, 10 Jan 2010 12:48:54 GMT

    [ https://issues.apache.org/jira/browse/CAY-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798479#action_12798479
] 

George Stan commented on CAY-1357:
----------------------------------

> So are you suggesting manual control of every entity name at reverse engineering stage?
Not quite :). The "strategy" does it's best to guess but displays the results so that the
user can interact with the exceptions (that will be saved for the next processings). Showing
an overview, doesn't mean allot of work to for the user.

> to me seems same as editing names afterwards
Unfortunately it's not the same, as at that point it's too late. Changing a name there, means
to change it in allot of places and keep everything consistent - it's just too much work.

The overview table in final step in the reverse engineering looks like the best place for
this.
As I said, the "NamingStrategy" is a nice idea, but IMHO it's missing the user interaction
and a way to persist that interaction for further reverse engineering trials.

> Prefix removal when reverse engineering table and column names.
> ---------------------------------------------------------------
>
>                 Key: CAY-1357
>                 URL: https://issues.apache.org/jira/browse/CAY-1357
>             Project: Cayenne
>          Issue Type: New Feature
>          Components: Modeler
>            Reporter: George Stan
>             Fix For: Undefined future
>
>
> Allow in Cayenne Modeler the possibility to automatically remove prefixes from the table
and column names when doing the reverse engineering step.
> In many DBs, the table names have prefixes like 'T_' or 'app_' (where app is the name
of the db or application name) or some other project specific conventions.
> Also it's usual for many columns to have the 'C_' prefix or the table name as a prefix
in front of every column.
> Those conventions are OK for the DB, but not as Object names, so allot of manual work
is required right now. Please allow an automatic way for this: this would increase the productivity
allot.
> Thank you.

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


Mime
View raw message