Return-Path: Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 86901 invoked by uid 500); 1 Aug 2003 20:04:04 -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 86858 invoked from network); 1 Aug 2003 20:04:03 -0000 Received: from extsmtp1.snowball.com (216.35.123.116) by daedalus.apache.org with SMTP; 1 Aug 2003 20:04:03 -0000 Received: from sc4mail.corp.snowball.com ([192.168.75.105]) by extsmtp1.snowball.com with Microsoft SMTPSVC(5.0.2195.5329); Fri, 1 Aug 2003 13:03:27 -0700 Received: from G42_5.ign.com (g42_5.corp.snowball.com [192.168.10.202]) by sc4mail.corp.snowball.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id PWBX3T69; Fri, 1 Aug 2003 12:57:22 -0700 Message-Id: <5.1.0.14.2.20030801130024.02e1dca0@mail.snowball.com> X-Sender: gfortytwo@mail.snowball.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 01 Aug 2003 13:03:52 -0700 To: "Apache Torque Users List" From: Geoff Fortytwo Subject: different internal variable names In-Reply-To: <20030801170202.GA4576@fs1.t-sys.hu> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-OriginalArrivalTime: 01 Aug 2003 20:03:27.0323 (UTC) FILETIME=[F8A95AB0:01C35867] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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