db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <tfisc...@apache.org>
Subject Re: AW: prefix for generated classes
Date Fri, 26 Aug 2005 18:51:57 GMT
Yo can

1) use the javaName attribute in the database schema for each table. 
Unfortunately I know of no global property which will help you.

2) change the templates in order to have the desired effect.

     Thomas


On Fri, 26 Aug 2005, Trey Long wrote:

> I was searching for the same solution, but I think the "torque.basePrefix" 
> only refers to the "Base" classes, not all of the OM classes.
>
> I have having some naming conflicts and I would like to know if there is a 
> way to prefix the rest of the classes that Torque generates so I don't have 
> to specify a package in front of the class and there is no ambiguity when 
> reading the code.
>
> Short of renaming my DB tables that is.
>
> -trey
>
> Vitzethum, Daniel wrote:
>
>> Hello Stan,
>> 
>> 
>>> I would like for the class names to always start with a certain
>>> prefix like torque_ or so.
>>> 
>> 
>> if I recall correctly, the property "torque.basePrefix" in
>> "build.properties"
>> does the trick.
>> 
>> 
>> HTH,
>> 
>> Daniel
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
>> For additional commands, e-mail: torque-user-help@db.apache.org
>> 
>> 
>

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


Mime
View raw message