db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hidde Boonstra [Us Media]" <hidde.boons...@usmedia.nl>
Subject Re: Plural Tables Names
Date Mon, 28 Jan 2008 08:29:04 GMT
Hi Graham,

you can specify the java name of your table in the schema xml. You can 
specify it using the javaName attribute on the table element. See:


Kind regards,

Graham Stewart wrote:
> This seems like it would be an FAQ, but I can't find the answer to it anywhere.
> I have a database where the table names are all plural, but I'd really
> prefer that my object names were not.
> Is there any way to have Torque create an class called "SiteUser" to
> represent the table site_users.

Hidde Boonstra
Us Media B.V.
Stadhouderskade 115
1073 AX Amsterdam

t: 020 428 68 68
f: 020 470 69 05

To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

View raw message