Menu

#6 Independent db/object field names

open
nobody
None
5
2002-08-02
2002-08-02
Aaron Hamid
No

I see it is possible to change the "field" names in the
GUI which will generate different accessor and private
member field names, but it also forces these to be the
DB column names. It would be nice to modify the GUI
so that the Fields tab replaced the "Name" column with
2 columns:

'Column Name'
'Member Name'

To begin with these would be the same, but they could
be modified to be different. This is useful if you have
column names that are awkward to use as member field
and method names. E.g.:

Column Name: LP_LType
Member Name: LaunchType

private String _LaunchType;

String getLaunchType()
void setLaunchType(String s)

String getUpdateValues() {
return "LP_Ltype = " + _LaunchType;
}

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.