Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 40862 invoked from network); 27 May 2004 14:15:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 May 2004 14:15:18 -0000 Received: (qmail 27309 invoked by uid 500); 27 May 2004 14:14:38 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 27004 invoked by uid 500); 27 May 2004 14:14:36 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 26438 invoked by uid 98); 27 May 2004 14:14:31 -0000 Received: from cam@panoramatos.com by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(209.68.1.20):. Processed in 0.224216 secs); 27 May 2004 14:14:31 -0000 X-Qmail-Scanner-Mail-From: cam@panoramatos.com via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(209.68.1.20):. Processed in 0.224216 secs) Received: from unknown (HELO relay.pair.com) (209.68.1.20) by hermes.apache.org with SMTP; 27 May 2004 14:14:30 -0000 Received: (qmail 97671 invoked from network); 27 May 2004 14:14:15 -0000 Received: from unknown (HELO CameronAcer) (62.103.70.50) by relay.pair.com with SMTP; 27 May 2004 14:14:15 -0000 X-pair-Authenticated: 62.103.70.50 From: "Cameron Hickey" To: "'Apache Torque Users List'" Subject: Generated OM classes have $clo instead of column names Date: Thu, 27 May 2004 17:14:10 +0300 Message-ID: <002101c443f4$e3f5bb30$0100a8c0@CameronAcer> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal In-Reply-To: <001d01c443b7$b1050970$690ba8c0@int.globaltechbg.com> X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I have been using torque 3.0 for the last year, and now that I am starting a new project I decided to upgrade to the 3.1 split generation tool. After managing to get the JDBC task to properly generate a new schema file from an existing database I need to use, I tried using the main ant task to generate the OM classes. Everything actually worked until I compiled the project and discovered that the Base classes all had "$clo" everywhere the column names should be. This is an example: /** The value for the $clo field */ private String $clo; I assume that this is caused by some portion of the velocity processing not properly replacing this field ($clo) with the value from the XML schema, but I cannot understand why. I thought it might be because I was using a schema generated by the JDBC task, but then I imported a schema I know works fine in torque 3.0 and the same thing happened. I don't know a lot about velocity, or have any idea how to debug it, but I hope there is something I can change in my build.properties file to make it properly recognize and use the column names from the XML file. Any ideas? Cameron --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org