David Sean Taylor <[EMAIL PROTECTED]> 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.

>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.

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.

        Best regards
                Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
[EMAIL PROTECTED]        +49 9131 50 654 0   http://www.intermeta.de/

RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
   Linux, Java, perl, Solaris -- Consulting, Training, Development

                      4 - 8 - 15 - 16 - 23 - 42

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to