Does your schema validate? I can't comment on the specifics of your
problem, however validating the schema XML tends to expose the cause of many
of the problems that are reported to the list.
HTH,
Scott
> From: Michael Harris <[EMAIL PROTECTED]>
> Reply-To: "Turbine Torque Users List" <[EMAIL PROTECTED]>
> Date: Tue, 16 Jul 2002 13:41:48 -0700
> To: [EMAIL PROTECTED]
> Subject: The javaName attribute in column element seems to be ignored.
>
> 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 )
> { ...
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>