db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Fortytwo <...@ign.com>
Subject different internal variable names
Date Fri, 01 Aug 2003 20:03:52 GMT
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

View raw message