I'm using torque-3.0 and found a problem with use of "javaName" in the base
peer classes. The object model generation task does not generate "javaName"
instead of
real column name in the BaseXPeer classes.
I'm using the following section in xml-schema:
<table name="ADVERT_ADVERT">
<column name="ADVERTID" primaryKey="true" required="true"
size="19" type="DECIMAL"/>
<column name="BEGINDATE" javaName="TEST" required="true" size="14"
type="VARCHAR"/>
<column name="ENDDATE" required="true" size="14" type="VARCHAR"/>
</table>
and get the following lines in the resulting base peer:
...
/** the column name for the BEGINDATE field */
public static final String BEGINDATE;
...
BEGINDATE = "ADVERT_ADVERT.BEGINDATE";
It should be "TEST" instead of "BEGINDATE".
I have played around with "torque.sameJavaName" but without success...
Is this a bug or do i something wrong?
Thanks,
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]