Bugs in Torque-44 patch / Test-project fixes
--------------------------------------------

                 Key: TORQUE-64
                 URL: http://issues.apache.org/jira/browse/TORQUE-64
             Project: Torque
          Issue Type: Bug
          Components: Generator, Test Project
    Affects Versions: 3.2.1
            Reporter: CG Monroe
            Priority: Blocker
             Fix For: 3.2.1


This patch fixes several things:

First, it fixes some bugs in the Torque-44 patch that support the
torque.deprecated.uppercasePeer property.  There are some mistakes in 
it that cause invalid/unusable object to be created.

Next, it fixes a problem with the test-schema.xml schema and MySQL 4.0.
A column was defined as Varchar and a length of 2000.  This was illegal 
in MySQL 4.0, so the column has been redefined as LONGVARCHAR.

Finally, it updates a couple of the Test-Project test cases to 
support both types of Peer names.



Files specific changes:

MapBuilder.vm:

Velocity logical expression was ! value and needed to be value.

Peer.vm

If uppercase column names was desired, the string value for the 
name would have a } tacked on the end.

test-schema.xml

Changed type="Varchar" size="2000" to type="longvarchar" size="2000"

DatabaseMapTest.java

Checks for upper case column names if mixed case not found.

OMByNameMethodsText.java

Uses Type*PEER column names to test with rather than hard coded names.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to