You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by Raynald MESSIE <r....@ltp.fr> on 2003/09/03 09:37:27 UTC

RE : 3.1 builds available

Hi,

There are some mistake in \templates\om\Object.vm.

I had the same problem, but I correct them.

I join my object.vm


Raynald Messié
Service Informatique
La Tôlerie Plastique
http://www.ltp.fr
All plastics boxes you need 

-----Message d'origine-----
De : Sgarlata Matt [mailto:sgarlata_matt@bah.com] 
Envoyé : mardi 2 septembre 2003 20:02
À : Apache Torque Developers List
Cc : mpoeschl@marmot.at
Objet : Re: 3.1 builds available


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