You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Geoff Fortytwo <g4...@ign.com> on 2003/08/01 22:03:52 UTC

different internal variable names

This topic was talked about on this list recently, but no one seemed to 
suggest a solution.

If I have a table column named "short" then that'll screw things up because 
that's a reserved java keyword, so a variable can't have that name. 
Assuming that the column name can't be changed (due to lots of other apps 
already using the table) then is the only solution to modify the velocity 
code so that, for instance, all internal variables have an underscore 
appended to them? That solves the problem for all possible java reserved 
name conflicts.

But is there a way to fix this without modifying velocity? The javaName 
column only fixes the names of the functions, it doesn't alter the internal 
variable names.


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