On 15 May 2001 11:05:08 +0100, Gareth Coltman wrote:
> Hi,
> 
> Is there a way to stop Torque from changing case table names. E.g.:
> 
> TableName -> becomes -> TablenamePeer etc...
> 
> I would rather it didn't fold the case in this way, and just left it as I
> specify it in the XML schema.
> 

As far as my short experience dictates, you can specify the name you
want the generated Java classes to have, using the javaName attribute of
the <table> and <column> tags.

For instance, you could specify your table as:

<table name="TABLE_NAME" javaName="TableName">
    <column ...>
</table>

-- 
"Create like a god,                Bruno Unna <[EMAIL PROTECTED]>
 command like a king,                   Internet de Alta Calidad
 and work like a slave."              Red Hat Certified Engineer
             Kawasaki                   PGP public key available


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to