db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sgarlata Matt" <sgarlata_m...@bah.com>
Subject Re: 3.1 builds available
Date Tue, 02 Sep 2003 18:02:04 GMT
Hi Martin, I just tried regenerating my object model using Torque 3.1 
instead of Torque 3.0.2 and I ran into a couple problems with the 
generated code.  For reference, my schema XML file is attached.  I am 
using Oracle 9 and running the generation on my Win 2k laptop.

PROBLEM 1
=========
The BaseAcatLevel.copyInfo method is messed up.  It looks like 
$col.UncapitalisedJavaName was not initialized correctly in velocity.

     protected AcatLevel copyInto(AcatLevel copyObj) throws TorqueException
     {
           copyObj.setShortDesc($col.UncapitalisedJavaName);

                     copyObj.setShortDesc((String)null);


         return copyObj;
     }

PROBLEM 2
=========
At the beginning of BaseAccessControl I have these weird declarations. 
I'm guessing $clo should be $col in some velocity file.

     /** The value for the $clo field */
     private String $clo;

     /** The value for the $clo field */
     private String $clo;

     /** The value for the $clo field */
     private BigDecimal $clo;

     /** The value for the $clo field */
     private Date $clo;


     /**
      * Get the UseridCd
      *
      * @return String
      */
     public String getUseridCd()
     {
         return $clo;
     }

Thanks for all your hard work Martin!

Matt

Martin Poeschl wrote:

> the torque 3.1 builds are available for download
> 
> http://db.apache.org/builds/torque/release/3.1/
> 
> i created a cvs branch TORQUE_3_1_BRANCH for bugfix releases
> 
> i'll wait for feedback before i send the annoucement .. so please give 
> it a try and report all problems to the mailing lists
> 
> thanx!
> 
> martin
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-dev-help@db.apache.org
> 

-- 
Matthew Sgarlata
Senior Consultant
Booz Allen Hamilton Inc.
Work: 703-377-0871
Fax: 703-902-3608

Mime
View raw message