You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Ari Maniatis (JIRA)" <ji...@apache.org> on 2010/01/06 02:23:54 UTC

[jira] Commented: (CAY-1357) Prefix removal when reverse engineering table and column names.

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

Ari Maniatis commented on CAY-1357:
-----------------------------------

I can see the use for your feature request, but as a workaround you might like to look at running some simple regex against the XML model file to do what you need.

> 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: CayenneModeler GUI
>            Reporter: George Stan
>
> 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.