When generating my java source using Torque-3.0b2 it
appears that the javaName attribute in the column
element is being ignored.  The Base class attributes
are always generated in lower case no matter what I
seem to do in the schema file.  This leads to the
improper naming of attributes and getter/setters in
the generated base objects.  I was wondering if anyone
has experienced this and knows of a workaround?  I
searched the mailing list archives and found no
mention of this issue so I am wondering if it is just
something that I am doing wrong?  Any help would be
greatly appreciated.  BTW - javaName works at the
table level for me.

Thanks,
Mike

Example:
schema snippet-
<table name="bs_user" javaName="UserDao"
idMethod="idbroker" javaNamingMethod="javaname">
        <column name="userid" javaName="userId"
required="true" autoIncrement="true" primaryKey="true"
type="INTEGER"/>
        <column name="lastname" javaName="lastName"
required="false" type="VARCHAR" size="40"/>

java snippet-
/**
* The value for the userid field
*/
   private NumberKey userid;
              
/**
* The value for the lastname field
*/
   private String lastname;

public void setuserId(NumberKey v ) throws
TorqueException
        {...
public String getlastName()
    { ...
         
public void setlastName(String v ) 
    { ...





__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

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

Reply via email to