cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Razumovsky (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAY-1357) Prefix removal when reverse engineering table and column names.
Date Wed, 06 Jan 2010 09:25:54 GMT

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

Andrey Razumovsky commented on CAY-1357:
----------------------------------------

Hi George!

You've not specified version of Cayenne you're using, but Cayenne 3 supports naming strategies
for reverse engineering. That is, you can plug your own NamingStrategy implementation. E.g.
method NamingStrategy.createObjEntityName(DbEntity entity) allows you to specify obj entity
name.

See http://cayenne.apache.org/doc/reverse-engineer-database.html 

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


Mime
View raw message