Return-Path: Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 32603 invoked from network); 13 May 2003 16:51:05 -0000 Received: from unknown (HELO linux.local) (67.9.44.163) by daedalus.apache.org with SMTP; 13 May 2003 16:51:05 -0000 Received: from ericemminger.com (localhost [127.0.0.1]) by linux.local (Postfix) with ESMTP id 9FF271FD58 for ; Tue, 13 May 2003 12:50:58 -0400 (EDT) Message-ID: <3EC12272.7020103@ericemminger.com> Date: Tue, 13 May 2003 12:50:58 -0400 From: Eric Emminger User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Turbine Torque Users List Subject: Re: Error in Torque Generated Java Code References: <20030512131620.39194.qmail@web80506.mail.yahoo.com> <3EBFCFDA.6010305@ericemminger.com> <002901c31904$9598f9a0$97f88ec6@home1> In-Reply-To: <002901c31904$9598f9a0$97f88ec6@home1> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Rafi Rafi Mohamed wrote: > Hi All, > The attachment did not work, I have provided the errors inline. Please > scroll down. > One error is that generated java code does not initialise 'short' fields to > '0'. I used the jars from torque-gen-3.1-alpha1.zip download . > Last week, I had the same error with 'torque-3.0.zip' > I am also listing the schema used for generating the java code > Schema Used : > > "http://jakarta.apache.org/turbine/dtd/database.dtd"> > > Set the name property of database. That should help. Eric