Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-torque Wiki" for 
change notification.

The following page has been changed by bdc34:
http://wiki.apache.org/db-torque/GettingTorqueToWork

------------------------------------------------------------------------------
  
  BrettSutton
  
+ = Errors during compile of Base objects =
+ 
+ If you have database columns with names that are java key words your compile 
will fail.  Torque does not check for this in v3.1.1 and it will attempt to 
make java classes with properties names like {{{ class abstract public private 
}}}.  See 
http://java.sun.com/docs/books/tutorial/java/nutsandbolts/_keywords.html for a 
list of keywords.  Those keywords are some rather seductive names for columns.  
Your options are to change your database column names from something like 
{{{class}}} to {{{someprefix_class}}} or to use the torque's javaName attribute 
in your schema.xml
+ {{{<table name="classes">        
+         <column name="class" javaName="vClass" size="120" type="VARCHAR"/>}}}
+ 
  = Using ant to build 3.1.1 =
  
  Here are some hints for UsingAntForV311

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

Reply via email to