cayenne-commits mailing list archives

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


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


> Prefix removal when reverse engineering table and column names.
> ---------------------------------------------------------------
>                 Key: CAY-1357
>                 URL:
>             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
> Thank you.

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

View raw message