Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 77427 invoked from network); 8 Aug 2005 14:52:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Aug 2005 14:52:59 -0000 Received: (qmail 42451 invoked by uid 500); 8 Aug 2005 14:52:58 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 42433 invoked by uid 500); 8 Aug 2005 14:52:58 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 42418 invoked by uid 99); 8 Aug 2005 14:52:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2005 07:52:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [216.23.125.30] (HELO mx.scriptall.com) (216.23.125.30) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2005 07:53:19 -0700 Received: (qmail 15783 invoked by uid 512); 8 Aug 2005 10:52:59 -0400 Received: from david@bluesunrise.com by edison by uid 509 with qmail-scanner-1.22-st-qms (clamdscan: 0.75. spamassassin: 2.63. Clear:RC:1(64.105.95.98):. Processed in 0.02919 secs); 08 Aug 2005 14:52:59 -0000 X-Antivirus-MYDOMAIN-Mail-From: david@bluesunrise.com via edison X-Antivirus-MYDOMAIN: 1.22-st-qms (Clear:RC:1(64.105.95.98):. Processed in 0.02919 secs Process 15779) Received: from h-64-105-95-98.snvacaid.covad.net (HELO [192.168.1.22]) (david@bluesunrise.com@64.105.95.98) by mx.scriptall.com with SMTP; Mon, 08 Aug 2005 10:52:59 -0400 Message-ID: <42F771C6.7000002@bluesunrise.com> Date: Mon, 08 Aug 2005 07:52:54 -0700 From: David Sean Taylor User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache Torque Developers List Subject: Re: [patch] MySQL SQL generation fix References: <42F63AF2.4040607@bluesunrise.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Henning P. Schmiedehausen wrote: > David Sean Taylor writes: > > >>When we upgraded to Torque version 3.2-rc1, Torque incorrectly >>generating MySQL statements for MEDIUMTEXT as > > >> COLUMN_VALUE MEDIUMTEXTNOT NULL, > > > Right. This is a bug. > I would have logged it but I couldn't find a Torque project under Apache JIRA Has Torque migrated to JIRA yet? > >>src/generator/src/java/org/apache/torque/engine/database/model/Column.java >> 27 Jun 2005 21:34:10 -0000 1.29 >>+++ >>src/generator/src/java/org/apache/torque/engine/database/model/Column.java >> 5 Aug 2005 06:42:27 -0000 > > > Please move to the subversion repository in the future. Didn't realize that you migrated to subversion. I now see that the site links point to subversion and not cvs. That must have been recent... > > While your patch fixes a symptom, it does not cure the deeper, > underlying problems of getSqlString() which is sort of a "let's juggle > with spaces somehow" method. > > I just checked in a fix that should repair all problems with that > method for good. > > If you do work with MySQL; it would be nice to have a domain test > class for MySQL like we have for other databases. This would help us > spot such errors faster. Sure, I'll look into it. Do you plan on releasing anytime soon? We'd like to incorporate the bug fix in our projects, and base our projects on an official torque release or at least an RC Thanks, -- David Sean Taylor Bluesunrise Software david@bluesunrise.com [office] +01 707 773-4646 [mobile] +01 707 529 9194 --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org