You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Dan Allen <da...@mojavelinux.com> on 2003/03/13 00:26:44 UTC

foreign key method names

I know this has been brought up before, but I figured I would second
the motion.  When the foreign key method is generated, it attempts
to pluralize the table name and fails in certain cases thanks to
strange English grammer rules.  I had a foreign table called
CompanyIndustry and the method became

getCompanyIndustrys

The suggestion was to just append the word "List" or "Group" since
it would never fail.  Hence, the method would become

getCompanyIndustryList

I would like to add this to bugzilla, but there is no way to add a
bug to a torque/turbine project since it is currently missing.  Can
this be added sometime soon?

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <da...@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
"While they're pumping, you're soaking them" 
 -- Speed Loader TV Advert
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

Re: foreign key method names

Posted by Dan Allen <da...@mojavelinux.com>.
http://scarab.werken.com/scarab/issues/id/TRQS144

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <da...@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Microsoft's Law of Software Engineering: 
Don't worry if it doesn't work right. 
If everything did, we'd be out of a job.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -